Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Move logic out of except block #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kgawda
Copy link
Contributor

@kgawda kgawda commented Jun 20, 2022

Add extra if-else statement, so that code for typical scenarios is not executed within except-else block. This will simplify error printouts, avoiding some During handling of the above exception, another exception occurred: ...

Signed-off-by: Konrad Gawda <konrad.gawda.opensource@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant