Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
We have quite a number of catch (Exception ...) and catch (Throwable ...) statement. Many of these are expecting specific errors. They should catch only those errors. For instance app/controllers/admin_clients.php preAction() uses catch (Throwable ...) when it could use catch (ArgumentCountError ...).
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |