acteng / atip

Active Travel Infrastructure Platform
https://acteng.github.io/atip/
Apache License 2.0
22 stars 4 forks source link

Actually log Maplibre errors #424

Closed dabreegster closed 8 months ago

dabreegster commented 8 months ago

I was looking into why we don't seem to get any style validation errors from maplibre, and it turns out svelte-maplibre is intercepting them and re-dispatching. This prevents maplibre's default behavior of console logging when there are no handlers. So, this PR starts logging errors. There were a few easy bugs on the browse page, now fixed. This logging would've prevented #415 or made it much easier to figure out the problem