Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map error handling should be written more defensively #58

Open
Glodenox opened this issue Oct 4, 2018 · 0 comments
Open

Map error handling should be written more defensively #58

Glodenox opened this issue Oct 4, 2018 · 0 comments

Comments

@Glodenox
Copy link
Owner

Glodenox commented Oct 4, 2018

gigaag in scripts on Slack:

Als ik boven Obdam de kaart N23 wil openen uit Open Maps, dan krijg ik een error:

userscript.html?id=3310535d-1b86-48b7-b495-5f2dcb455dbe:1165 Uncaught TypeError: Cannot read property 'replace' of null
at Function.onload (userscript.html?id=3310535d-1b86-48b7-b495-5f2dcb455dbe:1165)
at :2:491
at eval (eval at exec_fn (editor:1), :31:148)

De fout zou hier liggen:
title: serviceException.getAttribute('code').replace(/([a-z])([A-Z])/g, '$1 $2'),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant