Browse Source

ParamExceptionハンドルを修正

develop
sosuke.iwabuchi 1 year ago
parent
commit
c7cb8bc6a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/Http/Controllers/Web/WebController.php

+ 1
- 1
app/Http/Controllers/Web/WebController.php View File

@@ -215,7 +215,7 @@ abstract class WebController extends BaseController
throw $e;
} catch (ParamException $e) {
$this->transaction->rollBack();
throw $this->validateErrorResponse([$e->target => $e->getMessage()]);
return $this->validateErrorResponse([$e->target => $e->getMessage()]);
} catch (Exception $e) {
$this->transaction->rollBack();
logs()->error([


Loading…
Cancel
Save