Skip to content

Add exception handling for Tor option#2033

Merged
ppfeister merged 2 commits intosherlock-project:masterfrom
joaomfbh:tor_exception_handling
May 13, 2024
Merged

Add exception handling for Tor option#2033
ppfeister merged 2 commits intosherlock-project:masterfrom
joaomfbh:tor_exception_handling

Conversation

@joaomfbh
Copy link
Contributor

@joaomfbh joaomfbh commented Mar 1, 2024

Hi,
just a simple try/except to handle an OS Error when using --tor flag.
If you want to reproduce, please execute the code bellow:

python3 sherlock user_name --print-all --tor --json sherlock/resources/data.json

This enhancement prints a message to the console and sherlock exit in a fashion way instead of an OS technical error message.
I hope this will great for te project.

Thanks all.

@ppfeister ppfeister self-requested a review May 13, 2024 04:58
@ppfeister ppfeister added the enhancement New feature or request label May 13, 2024
@ppfeister ppfeister merged commit f2090bd into sherlock-project:master May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants