pbugnion / gmaps

Google maps for Jupyter notebooks
https://jupyter-gmaps.readthedocs.io/en/stable/
Other
760 stars 146 forks source link

Move directions error to errors box #242

Closed pbugnion closed 6 years ago

pbugnion commented 6 years ago

This PR moves displaying directions errors to the errors box, rather than triggering an exception Python-side.

The exception was not catchable anyway, since it was thrown from a callback, so its only purpose was displaying information to the user. This information is now shown in the errors box, which is more consistent with other errors.

screen shot 2018-04-16 at 07 30 59