Uncaught (in promise)

1340
1
05-07-2020 11:26 AM
Abiel_JesrrelDelgado_Lee
New Contributor

Hola, buenas equipo y conocedores

La misma es para favor pedir orientación sobre a que se podría deber el error:

Uncaught (in promise) -> d { name: "abortError", message: "Aborted", details: undefined, dojotype: "cancel" }      dojo.js:445

Eh realizado research sobre el mismo, pero no encuentro nada que me pueda dar luces sobre una tentativa solución.

Gracias de antemano equipo.

Saludos desde Panamá

0 Kudos
1 Reply
MatthewHamilton-Smith
New Contributor II

Hello Abiel

I had the same problem. To deal with an Uncaught error, you need to call the catch() function. For example:

view.goTo(camera).catch(e => {

   console.error(e);

   // Deal with error here

})

However, this will still display the error. I used this solution to silence the error - although I am not sure this is a good practice.

view.goTo(camera).catch(e => {

   return;

})

0 Kudos