You should at least print the reason,so `$e->getMessage()` into the error message