Skip to content

Commit

Permalink
Fix keyboard interrupt log path. Closes 83.
Browse files Browse the repository at this point in the history
Co-authored-by: Harisankar P S <[email protected]>
  • Loading branch information
CoolCat467 and coderhs committed Oct 3, 2024
1 parent e302500 commit fde7c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sanescansrv/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ def serve_scanner(
caught = False
for ex in exc.exceptions:
if isinstance(ex, KeyboardInterrupt):
log("Shutting down from keyboard interrupt")
log("Shutting down from keyboard interrupt", log_dir=logs_path)
caught = True
break
if not caught:
Expand Down

0 comments on commit fde7c6d

Please sign in to comment.