bug: matchByItemId catches Exception instead of Throwable #113

Closed
opened 2026-05-24 03:47:43 +00:00 by jmiller · 0 comments
Owner

MokoJoomTOS.php line 221 uses catch(Exception) but script.php was already updated to catch(Throwable). The Extension class should be consistent. A TypeError from a null DB result chain would escape the catch block.

MokoJoomTOS.php line 221 uses catch(Exception) but script.php was already updated to catch(Throwable). The Extension class should be consistent. A TypeError from a null DB result chain would escape the catch block.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomTOS#113