Skip to content

Draft: notify: Do not send full stacktrace in notification

Supervisor just passes the updater error message without really knowing what went wrong, just that something unexpected happened.

This workaround is more or less hack to silence overly verbose trace from Lua code. Instead of passing the full stacktrace, try to find line with error message.

Basically look for following pattern:

  msg = string: "\
<ERROR MESSAGE HERE>"

Perhaps the root cause would be better handled in updater Lua code, because updater has more context of what went wrong.

Closes: #34 (closed)

Merge request reports