We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f497aeb commit da3a142Copy full SHA for da3a142
map.js
@@ -1475,7 +1475,7 @@ async function initMap() {
1475
);
1476
const periodArray = period.split("-");
1477
if (periodArray.length !== 2) {
1478
- throw "Invalid period: " + period;
+ throw new Error("Invalid period: " + period);
1479
}
1480
const url = "/bekendmakingen/history/" + periodArray[0] + "/" + encodeURIComponent(lookupMunicipality.toLowerCase().replace(/\s/g, "-")) + "-" + period + ".json";
1481
if (isNewRequest) {
0 commit comments