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 Jun 9, 2020
1 parent 2e7ffa6 commit a277a82
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 a277a82

Please sign in to comment.