Explorar el Código

AppCommonExceptionのエラーメッセージ出力の修正

develop
sosuke.iwabuchi hace 2 años
padre
commit
67216df94c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app/Http/Controllers/Web/WebController.php

+ 1
- 1
app/Http/Controllers/Web/WebController.php Ver fichero

@@ -176,7 +176,7 @@ abstract class WebController extends BaseController
return $this->failedResponse([], $e->getMessage());
} catch (AppCommonException $e) {
$this->transaction->rollBack();
logs()->error(sprintf("Appエラー:%s", $e->getMessage()));
logs()->error(sprintf("Appエラー:%s File:%s Line:%d", $e->getMessage(), $e->getFile(), $e->getLine()));
return $this->failedResponse();
} catch (ExclusiveException $e) {
$this->transaction->rollBack();


Cargando…
Cancelar
Guardar