-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests and resolve a bug in ExecutionBroadcaster (#468)
* Fix test issues - Include `:crash_reason` in logger metadata - Remove `:crash_reason` from `log_exception` - Change tests pattern matching * Return `state` in case of invalid timezone In case of invalid timezone no state was returned and as a result the GenServer was crashing due to a `FunctionClauseError` * Do not set crash_reason if elixir < 1.10
- Loading branch information
Showing
4 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
use Mix.Config | ||
config :logger, :console, metadata: :all | ||
config :logger, :console, metadata: [:all, :crash_reason] | ||
config :elixir, :time_zone_database, Tzdata.TimeZoneDatabase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters