Skip to content

Commit

Permalink
Fatal error usually doesn't contain "file" and "line" fields in a sta…
Browse files Browse the repository at this point in the history
…cktrace. This causes Monolog\Formatter\NormalizerFormatter to return normalized error without "trace" field at all. But code expects it. Fix of this behavior. Check monolog related issue - Seldaek/monolog#1736
  • Loading branch information
WoZ committed Jul 20, 2022
1 parent d06a0f7 commit 23e4c15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

### 2.0.1

- Fatal error usually doesn't contain "file" and "line" fields in a stacktrace. This causes
Monolog\Formatter\NormalizerFormatter to return normalized error without "trace" field at all. But code expects it.
In this version this behavior was fixed. Check monolog related issue - https://github.com/Seldaek/monolog/issues/1736

### 2.0.0

- Namespace was changed. Beter\Yii2BeterLogging -> Beter\Yii2\Logging.
Expand Down
2 changes: 1 addition & 1 deletion php.dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ COPY ./deploy/data/php/root/ /

RUN set -eux; \
export \
PACKAGE_VERSION="1.2.2" \
PACKAGE_VERSION="2.0.1" \
PACKAGE_ARCH_NAME="yii2-beter-logging" \
; \
export \
Expand Down

0 comments on commit 23e4c15

Please sign in to comment.