summaryrefslogtreecommitdiff
path: root/Data-MultiValued/lib/Data/MultiValued/Exceptions.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Data-MultiValued/lib/Data/MultiValued/Exceptions.pm')
-rw-r--r--Data-MultiValued/lib/Data/MultiValued/Exceptions.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Data-MultiValued/lib/Data/MultiValued/Exceptions.pm b/Data-MultiValued/lib/Data/MultiValued/Exceptions.pm
index 571db0a..8d444c0 100644
--- a/Data-MultiValued/lib/Data/MultiValued/Exceptions.pm
+++ b/Data-MultiValued/lib/Data/MultiValued/Exceptions.pm
@@ -11,7 +11,7 @@ has value => (
sub as_string {
my ($self) = @_;
- my $str = $self->message . $self->value;
+ my $str = $self->message . ($self->value // '<undef>');
$str .= "\n\n" . $self->stack_trace->as_string;
return $str;