Catch all Exception in root namespace
This commit is contained in:
@@ -16,7 +16,7 @@ abstract class BaseRepository extends \Prettus\Repository\Eloquent\BaseRepositor
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
return $this->find($id, $columns);
|
return $this->find($id, $columns);
|
||||||
} catch (Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user