-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi all,
Sometimes exception are catched 1 and never dealt with 2.
Coupled with exception nesting or even outright overriden exception 3 it makes development and debugging very complicated.
Could we just set the previous exception, even just the last one, as the previous exception at L107 ?
mysql-gateway/src/AbstractMySqlGateway.php
Lines 98 to 100 in 9cb3297
} catch (\Exception $e) { continue; } mysql-gateway/src/AbstractMySqlGateway.php
Line 107 in 9cb3297
throw new NoResultException(sprintf('Unable to find an entity of type "%s" for identifier "%s"', $class, $key)); - https://github.com/objective-php/gateway/blob/master/src/MetaGateway.php#L80-L83
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels