quality: Add logging to silent exception handlers #27

Closed
opened 2026-06-10 05:46:00 +00:00 by Mark · 0 comments
Owner

Problem

Multiple except Exception blocks 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.

## Problem Multiple `except Exception` blocks 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.
Mark 2026-06-10 05:46:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/easystitch#27
No description provided.