From be8fefe65999076c2655bcad9a817d58d058cb8d Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 12 Aug 2020 05:20:59 +0800 Subject: [PATCH] show exception error for debugging --- .gitignore | 1 + app/Classes/General/Abstracts/AbstractControllerLogic.php | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index eec23d5b..f0eb58a3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ Homestead.json Homestead.yaml npm-debug.log yarn-error.log +/app/Classes/CodeGenerator \ No newline at end of file diff --git a/app/Classes/General/Abstracts/AbstractControllerLogic.php b/app/Classes/General/Abstracts/AbstractControllerLogic.php index 4a0366b2..eca73016 100644 --- a/app/Classes/General/Abstracts/AbstractControllerLogic.php +++ b/app/Classes/General/Abstracts/AbstractControllerLogic.php @@ -52,6 +52,7 @@ abstract class AbstractControllerLogic return $this->logic($request); } catch (ErrorException $exception){ + dd($exception); return (new ApiResponseObject($this->getNotificationTitle().' failed', $exception->getMessage(), $exception->getCode()))->handler(); }