xiaogang 4 年 前
コミット
12170f3027
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Http/Controllers/Api/HomeController.php

+ 1 - 1
app/Http/Controllers/Api/HomeController.php

xqd
@@ -107,7 +107,7 @@ class HomeController extends Controller
         }catch (AuthException $exception){
             return $this->response->errorUnauthorized($exception->getMessage());
         }catch (\Exception $exception){
-            return $this->response->errorForbidden($exception->getMessage());
+            return $this->response->errorForbidden($exception);
         }
         return response()->json($res);
     }