Skip to content

Commit 0eb4d32

Browse files
committed
Handle uncaught Exceptions gracefully
1 parent 2eaef8f commit 0eb4d32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

baresipy/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@ def run(self):
464464
pass
465465
except KeyboardInterrupt:
466466
self.running = False
467+
except:
468+
# Uncaught Exception. Gracefully quit
469+
self.running = False
467470

468471
self.quit()
469472

0 commit comments

Comments
 (0)