mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-20 03:36:41 +00:00
Allow system messages to not be tracked
Also don't track update lock events Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
50fdee4290
commit
4e783fcd86
@ -586,7 +586,7 @@ module.exports = class DeviceState extends EventEmitter
|
||||
# If there was an error then schedule another attempt briefly in the future.
|
||||
if err instanceof UpdatesLockedError
|
||||
message = "Updates are locked, retrying in #{prettyMs(delay, compact: true)}..."
|
||||
@logger.logSystemMessage(message)
|
||||
@logger.logSystemMessage(message, {}, 'updateLocked', false)
|
||||
console.log(message)
|
||||
else
|
||||
console.log('Scheduling another update attempt due to failure: ', delay, err)
|
||||
|
Loading…
Reference in New Issue
Block a user