Catch all Exception in root namespace

This commit is contained in:
Nabeel Shahzad
2018-01-08 16:42:08 -06:00
parent 4eb5aeebed
commit a8ecc8a26f

View File

@@ -16,7 +16,7 @@ abstract class BaseRepository extends \Prettus\Repository\Eloquent\BaseRepositor
{
try {
return $this->find($id, $columns);
} catch (Exception $e) {
} catch (\Exception $e) {
return;
}
}