Skip to content

Commit

Permalink
fix error when set RAKUDO_EXCEPTIONS_HANDLER (#2823)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjie1991 authored and ugexe committed Apr 7, 2019
1 parent 2e8f326 commit 939ea41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm6
Expand Up @@ -380,7 +380,7 @@ do {
# REMOVE DEPRECATED CODE ON 201907
Rakudo::Deprecations.DEPRECATED: "PERL6_EXCEPTIONS_HANDLER", Nil,
'2019.07', :file("N/A"), :line("N/A"),
:what<RAKUDO_EXCEPTIONS_HANDLER env var>;
:what("RAKUDO_EXCEPTIONS_HANDLER env var");
my $class := ::("Exceptions::$handler");
unless nqp::istype($class,Failure) {
temp %*ENV<RAKUDO_EXCEPTIONS_HANDLER> = ""; # prevent looping
Expand Down

0 comments on commit 939ea41

Please sign in to comment.