PEP fixes

This commit is contained in:
Matthias 2022-02-13 23:59:23 +01:00
parent 2335a8c316
commit 955f389d66
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -84,8 +84,6 @@ def handle_error(error, do_raise: bool = True, do_log: bool = True, log_name: st
log_kwargs['reference'] = log_name
log_error({package_name: str(error)}, **log_kwargs)
new_error = IntegrationPluginError(package_name, str(error))
if do_raise:
raise IntegrationPluginError(package_name, str(error))
# endregion