From a8ecc8a26ff0465041a7575b4bebe9bfeea37884 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 8 Jan 2018 16:42:08 -0600 Subject: [PATCH] Catch all Exception in root namespace --- app/Repositories/BaseRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/BaseRepository.php b/app/Repositories/BaseRepository.php index 42458211..c9bef862 100644 --- a/app/Repositories/BaseRepository.php +++ b/app/Repositories/BaseRepository.php @@ -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; } }