lint & logging fixes.

This commit is contained in:
Miroslav Šedivý 2021-03-16 10:53:03 +01:00
parent 58d029f455
commit a9aa62f062
7 changed files with 14 additions and 13 deletions

View file

@ -50,8 +50,8 @@ func (manager *WebSocketManagerCtx) fileChooserDialogEvents() {
ID: activeSession.ID(),
}); err != nil {
manager.logger.Warn().
Str("session_id", session.ID()).
Err(err).
Str("session_id", session.ID()).
Msgf("could not send event `%s` to session", event.FILE_CHOOSER_DIALOG_OPENED)
}
})