Skip to content

Commit

Permalink
NXDRIVE-2701: Lower logging level of unknown connection error (#2869)
Browse files Browse the repository at this point in the history
Co-authored-by: Mickaël Schoentgen <[email protected]>
  • Loading branch information
rom1win and Mickaël Schoentgen authored Jun 24, 2021
1 parent 8c8a3d9 commit e94335d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changes/5.2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Release date: `2021-0x-xx`
- [NXDRIVE-2687](https://jira.nuxeo.com/browse/NXDRIVE-2687): Fix new errors found by codespell 2.1.0
- [NXDRIVE-2698](https://jira.nuxeo.com/browse/NXDRIVE-2698): Specify the UFT-8 encoding when reading/writing text files
- [NXDRIVE-2700](https://jira.nuxeo.com/browse/NXDRIVE-2700): Prevent `Comparison between bytes and string` warning
- [NXDRIVE-2701](https://jira.nuxeo.com/browse/NXDRIVE-2701): Lower logging level of unknown connection error

### Direct Edit

Expand Down
5 changes: 3 additions & 2 deletions nxdrive/gui/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,8 +825,9 @@ def web_authentication(
)
self.openAuthenticationDialog.emit(auth.connect_url(), callback_params)
except Exception:
log.exception(
"Unexpected error while trying to open web authentication window"
log.warning(
"Unexpected error while trying to open web authentication window",
exc_info=True,
)
self.setMessage.emit("CONNECTION_UNKNOWN", "error")

Expand Down

0 comments on commit e94335d

Please sign in to comment.