Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
probably not correct but good enough for me
  • Loading branch information
9001 committed Feb 10, 2024
1 parent b8844c0 commit 79ac846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions partftpy/TftpServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def listen(
self.sessions[key].start(buffer)
except TftpTimeoutExpectACK:
self.sessions[key].timeout_expectACK = True
except TftpException as err:
except Exception as err:
deletion_list.append(key)
log.error(
"Fatal exception thrown from session %s: %s"
Expand Down Expand Up @@ -212,7 +212,7 @@ def listen(
deletion_list.append(key)
except TftpTimeoutExpectACK:
self.sessions[key].timeout_expectACK = True
except TftpException as err:
except Exception as err:
deletion_list.append(key)
log.error(
"Fatal exception thrown from session %s: %s"
Expand Down

0 comments on commit 79ac846

Please sign in to comment.