Skip to content
Permalink
Browse files

fix error when set RAKUDO_EXCEPTIONS_HANDLER (#2823)

  • Loading branch information...
wenjie1991 authored and ugexe committed Apr 7, 2019
1 parent 2e8f326 commit 939ea41957aab78b78a3d8e0b029da0ea7be8729
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Exception.pm6
@@ -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

0 comments on commit 939ea41

Please sign in to comment.
You can’t perform that action at this time.