Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix error reporting from Suppy.quit
this changes the UDP error on linux from "Unexplained error"
to "Unknown system error", which is not really that much more helpful
(but the fix is still worth it on its own)
  • Loading branch information
moritz committed Dec 16, 2015
1 parent aa12a40 commit b6373d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Supply.pm
Expand Up @@ -1460,7 +1460,7 @@ my class Supplier {
$!taplist.quit($ex);
}
multi method quit(Supplier:D: Str() $message) {
$!taplist.quit(X::AdHoc.new(:$message));
$!taplist.quit(X::AdHoc.new(payload => $message));
}

method Supply(Supplier:D:) {
Expand Down

0 comments on commit b6373d5

Please sign in to comment.