Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit ac74002

Browse files
committed
Fixed error logging
1 parent b0a9bc8 commit ac74002

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Versioning](https://semver.org/spec/v2.0.0.html).
99

1010
## [Unreleased]
1111

12+
### Changed
13+
14+
- Fixed error logging.
15+
1216
## [1.1.0]
1317

1418
### Added

src/Helper/WebformHelperSF1601.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ public function processJob(Job $job): JobResult {
291291
return JobResult::success();
292292
}
293293
catch (\Exception $e) {
294-
$this->error($e->getMessage(), [
294+
$this->error('Error: @message', [
295+
'@message' => $e->getMessage(),
295296
'handler_id' => 'os2forms_digital_post',
296297
'operation' => 'digital post send',
297298
'webform_submission' => $submission ?? NULL,

0 commit comments

Comments
 (0)