Skip to content

Commit

Permalink
Report signal in X::Proc::Unsuccessful
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Sep 5, 2019
1 parent 225b1c5 commit 89fc9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Exception.pm6
Expand Up @@ -3038,7 +3038,7 @@ my class X::Language::ModRequired is Exception {
my class X::Proc::Unsuccessful is Exception {
has $.proc;
method message() {
"The spawned command '{$.proc.command[0]}' exited unsuccessfully (exit code: $.proc.exitcode())"
"The spawned command '{$.proc.command[0]}' exited unsuccessfully (exit code: $.proc.exitcode(), signal: $.proc.signal())"
}
}

Expand Down

0 comments on commit 89fc9f3

Please sign in to comment.