Skip to content

Commit

Permalink
Adjust logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHash committed Aug 23, 2020
1 parent fff43f8 commit efe0102
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Middleware/SecureActionHandler.php
Expand Up @@ -61,7 +61,7 @@ protected function execute(ActionInterface $action, DaikonRequest $request): Res
$statusCode = self::STATUS_FORBIDDEN;
break;
default:
$this->logger->error($error->getMessage(), ['trace' => $error->getTrace()]);
$this->logger->error($error->getMessage(), ['exception' => $error->getTrace()]);
$statusCode = self::STATUS_INTERNAL_SERVER_ERROR;
}
$request = $action->handleError(
Expand Down

0 comments on commit efe0102

Please sign in to comment.