diff options
author | Eric Wong <e@yhbt.net> | 2020-06-01 10:06:47 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-06-03 04:04:21 +0000 |
commit | f9a09f604df73297388af442114d14346dc30d46 (patch) | |
tree | b7f0a58a67addca9171d5cb7ec72198b0a50e92f /lib/PublicInbox/V2Writable.pm | |
parent | aae8eb6de7b8ed4b1370971e91802b12da7f81aa (diff) | |
download | public-inbox-f9a09f604df73297388af442114d14346dc30d46.tar.gz |
No point in attempting to print the value of an undefined variable if there's a bug. Fortunately, (AFAIK) we've never hit that bug check :>
Diffstat (limited to 'lib/PublicInbox/V2Writable.pm')
-rw-r--r-- | lib/PublicInbox/V2Writable.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index b393b31f..1a824531 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -182,7 +182,7 @@ sub _add { my ($num, $mid0) = v2_num_for($self, $mime); defined $num or return; # duplicate - defined $mid0 or die "BUG: $mid0 undefined\n"; + defined $mid0 or die "BUG: \$mid0 undefined\n"; my $im = $self->importer; my $smsg = bless { mid => $mid0, num => $num }, 'PublicInbox::Smsg'; my $cmt = $im->add($mime, undef, $smsg); # sets $smsg->{ds|ts|blob} |