We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edf39ba commit 2d18175Copy full SHA for 2d18175
appdaemon/threads.py
@@ -1178,7 +1178,7 @@ def increment_callback_counter(app, name):
1178
# races during app.callback_counter += 1 so we need to use a lock. We'll just use that of the app.
1179
with app.lock:
1180
app.callback_counter += 1
1181
- except:
+ except Exception:
1182
error_logger = logging.getLogger("Error.{}".format(name))
1183
error_logger.warning("-" * 60)
1184
error_logger.warning("Unexpected error in worker for App %s:", name)
0 commit comments