Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
report errors to $*ERR
  • Loading branch information
moritz committed Oct 5, 2011
1 parent 840ad74 commit fc304e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/Exception.pm
Expand Up @@ -60,8 +60,10 @@ do {
);
if is_runtime($ex.backtrace) {
my $e := EXCEPTION($ex);
say $e;
say Backtrace.new($e);
my Mu $err := pir::getstderr__P();
$err.print: $e;
$err.print: "\n";
$err.print: Backtrace.new($e);
} else {
my Mu $err := pir::getstderr__P();
$err.print: "===SORRY!===\n";
Expand Down

0 comments on commit fc304e3

Please sign in to comment.