Skip to content

Commit

Permalink
Fix runtime error in case we do not configure logger at all
Browse files Browse the repository at this point in the history
In that case we got 'Odd number of elements found where
hash initializer expected' error message.
  • Loading branch information
atroxaper committed Apr 8, 2019
1 parent 671a656 commit 39bb86d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/LogP6.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ my atomicint $initialized = 0;
my @cliches;
my $cliches-names;
my %cliches-to-loggers;
my $loggers-pure;
my $loggers;
my $loggers-pure = %();
my $loggers = $();

my Str $default-pattern;
my Bool $default-auto-exceptions;
Expand Down

0 comments on commit 39bb86d

Please sign in to comment.