refactor(local-settings): Log JSON parse errors

This commit is contained in:
Jonas Hermsmeier 2018-05-29 17:05:06 +02:00
parent c08cf61d0c
commit c5e5141b21
No known key found for this signature in database
GPG Key ID: 1B870F801A0CEE9F

View File

@ -80,7 +80,7 @@ const readConfigFile = (filename) => {
try {
data = JSON.parse(contents)
} catch (parseError) {
// Ignore (?)
console.error(parseError)
}
resolve(data)
}