Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure DEPRECATED messages don't die on JVM
  • Loading branch information
lizmat committed Nov 24, 2013
1 parent 8d994cf commit a7ee091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Deprecations.pm
Expand Up @@ -47,7 +47,7 @@ sub DEPRECATED ($alternative) {
my $what = Deprecation.new(
file => $deprecated.file,
type => $deprecated.subtype.tc,
package => $deprecated.package.HOW.name($deprecated),
package => try { $deprecated.package.HOW.name($deprecated) } // 'unknown',
name => $deprecated.subname,
:$alternative,
);
Expand Down

0 comments on commit a7ee091

Please sign in to comment.