Skip to content

fix: handle PermissionError when writing output files#2855

Open
aashish-thapa wants to merge 1 commit intosherlock-project:masterfrom
aashish-thapa:fix/permission-error-on-output-write
Open

fix: handle PermissionError when writing output files#2855
aashish-thapa wants to merge 1 commit intosherlock-project:masterfrom
aashish-thapa:fix/permission-error-on-output-write

Conversation

@aashish-thapa
Copy link
Copy Markdown

Wraps TXT, CSV, and XLSX file writes in a try/except to catch PermissionError and show a helpful message instead of a traceback.

Fixes #1949

Wrap TXT, CSV, and XLSX output file writes in a try/except block
to catch PermissionError and display a helpful message instead of
crashing with a traceback.

Fixes sherlock-project#1949
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PermissionError: Permission denied when writing the file

1 participant