quality: Add logging to silent exception handlers #27
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Multiple
except Exceptionblocks silently swallow errors with no logging.Affected:
style_processor.py:391,element_classifier.py:320,file_utils.py:201,224,raster_converter.py:815,validation.py:50.Proposed Fix
Add
logging.getLogger(__name__).warning(...)before each fallback return.Impact
Dramatically better debugging; prevents silent data loss.