show exception error for debugging

This commit is contained in:
omair saleh
2020-08-12 05:20:59 +08:00
parent 27ba9aa61e
commit be8fefe659
2 changed files with 2 additions and 0 deletions
@@ -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();
}