Skip to content

Commit 2d18175

Browse files
committed
Lint fix
1 parent edf39ba commit 2d18175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appdaemon/threads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ def increment_callback_counter(app, name):
11781178
# races during app.callback_counter += 1 so we need to use a lock. We'll just use that of the app.
11791179
with app.lock:
11801180
app.callback_counter += 1
1181-
except:
1181+
except Exception:
11821182
error_logger = logging.getLogger("Error.{}".format(name))
11831183
error_logger.warning("-" * 60)
11841184
error_logger.warning("Unexpected error in worker for App %s:", name)

0 commit comments

Comments
 (0)