Small cleanup

This commit is contained in:
Pieter Vander Vennet 2022-07-01 02:41:09 +02:00
parent 2780dc8b0b
commit 5cf52690ee

View file

@ -111,9 +111,10 @@ export default class ScriptUtils {
} }
const parsed = JSON.parse(contents); const parsed = JSON.parse(contents);
return {parsed: parsed, path: path} return {parsed, path}
} catch (e) { } catch (e) {
console.error("Could not parse file ", "./assets/layers/" + path, "due to ", e) console.error("Could not parse file ", "./assets/layers/" + path, "due to ", e)
throw e
} }
}) })
} }