Skip to content

Commit

Permalink
Update warning message for a callback method specified with hook ar…
Browse files Browse the repository at this point in the history
…gument #399
  • Loading branch information
azumakuniyuki committed Jul 16, 2020
1 parent 0d85ec2 commit 932e4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Sisimai/Message.pm
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ sub parse {
# Call hook method
my $p = { 'headers' => $mailheader, 'message' => $$bodystring };
eval { $havecaught = $hookmethod->($p) };
warn sprintf(" ***warning: Something is wrong in hook method:%s", $@) if $@;
warn sprintf(" ***warning: Something is wrong in hook method 'hook': %s", $@) if $@;
}

my $haveloaded = {};
Expand Down

0 comments on commit 932e4a3

Please sign in to comment.