Using the root namespace \Exception did the trick.
Instead of:
catch(Exception $e){
// Never reached
}
I used:
catch(\Exception $e){
// Get error here
}
Using the root namespace \Exception did the trick.
Instead of:
catch(Exception $e){
// Never reached
}
I used:
catch(\Exception $e){
// Get error here
}