clarified and combined warnings
This commit is contained in:
parent
7e44ebcc31
commit
44ea6d3469
16 changed files with 34 additions and 30 deletions
|
|
@ -152,8 +152,10 @@ const getStaticConfig = async () => {
|
|||
throw res
|
||||
}
|
||||
} catch (error) {
|
||||
console.warn('Failed to load static/config.json, continuing without it.')
|
||||
console.warn(error)
|
||||
console.warn(
|
||||
'Failed to load static/config.json, continuing without it.',
|
||||
error,
|
||||
)
|
||||
return {}
|
||||
}
|
||||
}
|
||||
|
|
@ -442,8 +444,7 @@ const getNodeInfo = async ({ store }) => {
|
|||
throw res
|
||||
}
|
||||
} catch (e) {
|
||||
console.warn('Could not load nodeinfo')
|
||||
console.warn(e)
|
||||
console.warn('Could not load nodeinfo', e)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue