diff --git a/app/Services/Repositories/OptionRepository.php b/app/Services/Repositories/OptionRepository.php index 30bbe73c..659b0d9f 100644 --- a/app/Services/Repositories/OptionRepository.php +++ b/app/Services/Repositories/OptionRepository.php @@ -18,9 +18,7 @@ class OptionRepository extends Repository { try { $options = DB::table('options')->get(); - } catch (Exception $e) { - $options = []; - } catch (PDOException $e) { + } catch (QueryException $e) { $options = []; }