[BUG] SlideUpWindow: Empty catch block silently swallows all exceptions #6

Closed
opened 2026-03-12 00:02:29 +00:00 by lavarius · 0 comments
Owner

🔴 Critical Bug

File: SlideUpWindow.cs

An empty catch block hides all errors, making debugging impossible when something goes wrong in this path.

Fix: At minimum log the exception:

catch (Exception e)
{
    Debug.LogError($"SlideUpWindow error: {e}");
}

Ideally handle specific exception types separately.

## 🔴 Critical Bug **File:** `SlideUpWindow.cs` An empty `catch` block hides all errors, making debugging impossible when something goes wrong in this path. **Fix:** At minimum log the exception: ```csharp catch (Exception e) { Debug.LogError($"SlideUpWindow error: {e}"); } ``` Ideally handle specific exception types separately.
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
lavarius/ProjectOverlay#6
No description provided.