-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
LOCATION: ceti/whaletag.py:51-57
CURRENT CODE:
sys.stdout = open(os.devnull, "w")
lanhosts = asyncio.run(coro)
sys.stdout = sys.stdout
PROBLEM:
- stdout is redirected to /dev/null to suppress findssh output
- If asyncio.run() raises an exception, line 3 never executes
- stdout stays redirected to /dev/null forever
- All subsequent output disappears
IMPACT:
- All error messages after the failure are invisible
- Debugging becomes impossible
- Requires program restart to see output again
Metadata
Metadata
Assignees
Labels
No labels