diff --git a/pyduofern/__init__.py b/pyduofern/__init__.py index 5117437..c7ff4c5 100644 --- a/pyduofern/__init__.py +++ b/pyduofern/__init__.py @@ -21,7 +21,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -__version__ = "0.36.0" +__version__ = "0.36.1" __all__ = ['DuofernException', 'DuofernStick', 'DuofernStickAsync', 'duoACK'] diff --git a/pyduofern/duofern_stick.py b/pyduofern/duofern_stick.py index 5528526..f35a86f 100644 --- a/pyduofern/duofern_stick.py +++ b/pyduofern/duofern_stick.py @@ -650,6 +650,7 @@ def handle_resends(self): for k in self.unacknowledged.keys(): if self.unacknowledged[k].retries == 0: done.add(k) + logger.info(f"{self.unacknowledged[k]} was never acknowledged, gave up after 5 retries") elif self.unacknowledged[k].next < t: self.unacknowledged[k].next = t + datetime.timedelta(seconds=random.uniform(*RESEND_SECONDS)) self.unacknowledged[k].retries -= 1