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
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