commit | aed2fedfa17a6574d28e373e93101ee6f0e279e3 | [log] [tgz] |
---|---|---|
author | Gavin McDonald <gmcdonald@apache.org> | Thu Oct 26 17:15:05 2023 +0200 |
committer | GitHub <noreply@github.com> | Thu Oct 26 17:15:05 2023 +0200 |
tree | cbbc14688cafc58c45ff385fc4134be1db7f67ca | |
parent | 988b5c16939c48ac6384c53361d4720549e40f60 [diff] | |
parent | 0749f6865fe9088979a211c8bb8f9fd3a3820ade [diff] |
Merge pull request #4 from apache/base-exception Don't catch BaseException
diff --git a/blocky-client.py b/blocky-client.py index 08f348e..a189bca 100644 --- a/blocky-client.py +++ b/blocky-client.py
@@ -396,7 +396,7 @@ if epoch < last_boot: print("Computer was rebooted since last check, resetting cache") epoch = 0 - except: + except Exception: # TODO: narrow further to expected Exceptions pass # Set new epoch with open("epoch.dat", "w") as f: