From 40d2826c60e7a46c48c42118e8c3d31051f6f0d0 Mon Sep 17 00:00:00 2001 From: mightqxc Date: Tue, 18 Jul 2023 11:26:51 +0200 Subject: [PATCH 1/2] Fix error handling of get_commands --- pandaharvester/commit_timestamp.py | 2 +- pandaharvester/harvestercommunicator/panda_communicator.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandaharvester/commit_timestamp.py b/pandaharvester/commit_timestamp.py index 6ede0f42..f6098b5e 100644 --- a/pandaharvester/commit_timestamp.py +++ b/pandaharvester/commit_timestamp.py @@ -1 +1 @@ -timestamp = "20-06-2023 14:31:16 on flin (by mightqxc)" +timestamp = "18-07-2023 09:26:51 on flin (by mightqxc)" diff --git a/pandaharvester/harvestercommunicator/panda_communicator.py b/pandaharvester/harvestercommunicator/panda_communicator.py index e08680aa..0f28a4fe 100644 --- a/pandaharvester/harvestercommunicator/panda_communicator.py +++ b/pandaharvester/harvestercommunicator/panda_communicator.py @@ -480,7 +480,7 @@ def get_commands(self, n_commands): tmpLog.debug('Commands {0}'.format(tmp_dict['Commands'])) return tmp_dict['Commands'] return [] - except KeyError: + except Exception: core_utils.dump_error_message(tmpLog, tmp_res) return [] @@ -502,7 +502,7 @@ def ack_commands(self, command_ids): tmpLog.debug('Finished acknowledging commands') return True return False - except KeyError: + except Exception: core_utils.dump_error_message(tmpLog, tmp_res) return False From 949e917893803d0778abe9d11a5315944a78dca1 Mon Sep 17 00:00:00 2001 From: mightqxc Date: Tue, 18 Jul 2023 11:28:39 +0200 Subject: [PATCH 2/2] v0.2.34 --- pandaharvester/commit_timestamp.py | 2 +- pandaharvester/panda_pkg_info.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandaharvester/commit_timestamp.py b/pandaharvester/commit_timestamp.py index f6098b5e..d5695696 100644 --- a/pandaharvester/commit_timestamp.py +++ b/pandaharvester/commit_timestamp.py @@ -1 +1 @@ -timestamp = "18-07-2023 09:26:51 on flin (by mightqxc)" +timestamp = "18-07-2023 09:28:39 on flin (by mightqxc)" diff --git a/pandaharvester/panda_pkg_info.py b/pandaharvester/panda_pkg_info.py index 3b8ad03f..ee92529a 100644 --- a/pandaharvester/panda_pkg_info.py +++ b/pandaharvester/panda_pkg_info.py @@ -1 +1 @@ -release_version = "0.2.33" +release_version = "0.2.34"