Skip to content

Commit

Permalink
fixed for undefined messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftworks committed Jul 18, 2014
1 parent 1025f79 commit 2e0a6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Kurious/Log.pm
Expand Up @@ -89,7 +89,7 @@ sub fatal {
sub log {
my $self = shift;
my $level = lc shift;
my @messages = map $self->encoding->encode($_), @_;
my @messages = map { defined($_) ? $self->encoding->encode($_) : '' } @_;

if ( $self->is_color ) {
state $escseq = $self->escseq;
Expand Down

0 comments on commit 2e0a6a1

Please sign in to comment.