Skip to content

Commit f044c10

Browse files
committed
except all exceptions (and exit)
1 parent 79a78ed commit f044c10

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sql shell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ def on_ok(self): # NOSONAR
297297
except KeyboardInterrupt:
298298
pass
299299

300-
except (FileNotFoundError, ValueError, sshtunnel.BaseSSHTunnelForwarderError) as exception:
300+
except (FileNotFoundError, ValueError, sshtunnel.BaseSSHTunnelForwarderError,
301+
Exception) as exception:
301302
print(exception)
302303

303304
print()

0 commit comments

Comments
 (0)