Skip to content

fix(client): Print whole exceptions only in logging.DEBUG mode#310

Open
katomaso wants to merge 1 commit intoYakifo:mainfrom
katomaso:dronetag
Open

fix(client): Print whole exceptions only in logging.DEBUG mode#310
katomaso wants to merge 1 commit intoYakifo:mainfrom
katomaso:dronetag

Conversation

@katomaso
Copy link
Copy Markdown
Contributor

Changes included in this PR

Reduce amount of (uncontrollable) text going to stderr

Current behavior

It prints whole exception on every reconnect try

New behavior

Whole exception is recorded only in logging.DEBUG level

Impact

No impact

Checklist

  1. Does your submission pass the existing tests?
  2. Are there new tests that cover these additions/changes?
  3. Have you linted your code locally before submission?

@katomaso
Copy link
Copy Markdown
Contributor Author

Here is just a small convenience change so logs don't get flooded on reconnect retries even when running in "silent" WARNING logging level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant