Skip to content

Commit

Permalink
Fix error during module install
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterHolvoet committed Feb 17, 2021
1 parent abc90c6 commit 8c8628f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Fixed
- Fix error during module install

## [1.6.0] - 2021-02-17
### Added
- Add support for the `in_app_include` and `in_app_exclude` options
Expand Down
4 changes: 2 additions & 2 deletions src/Logger/Sentry.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ protected function getClient(): ?ClientInterface
'attach_stacktrace' => true,
'before_send' => [$this, 'onBeforeSend'],
'before_breadcrumb' => [$this, 'onBeforeBreadcrumb'],
'in_app_exclude' => $this->normalizePaths($this->config->get('in_app_exclude')),
'in_app_include' => $this->normalizePaths($this->config->get('in_app_include')),
'in_app_exclude' => $this->normalizePaths($this->config->get('in_app_exclude') ?? []),
'in_app_include' => $this->normalizePaths($this->config->get('in_app_include') ?? []),
]);

if ($value = $this->config->get('release')) {
Expand Down

0 comments on commit 8c8628f

Please sign in to comment.