mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +00:00
refactor(local-settings): Log JSON parse errors
This commit is contained in:
parent
c08cf61d0c
commit
c5e5141b21
@ -80,7 +80,7 @@ const readConfigFile = (filename) => {
|
||||
try {
|
||||
data = JSON.parse(contents)
|
||||
} catch (parseError) {
|
||||
// Ignore (?)
|
||||
console.error(parseError)
|
||||
}
|
||||
resolve(data)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user