Skip to content

Commit ec2169c

Browse files
committed
Note that “say” is ok in these cases
I tend to grep for “say” to make sure I don't leave any debugging aids in the code. Maybe it's better to use 「put $foo.gist」 here?
1 parent c73cd33 commit ec2169c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Whateverable.pm6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ method TWEAK {
7777

7878
method handle-exception($exception, $msg?) {
7979
CATCH { # exception handling is too fat, so let's do this also…
80-
.say;
80+
.say; # “say” is exactly what was meant, it's not a debugging leftover
8181
return Exception was thrown while I was trying to handle another exception…
8282
~ What are they gonna do to me, Sarge? What are they gonna do⁈
8383
}
@@ -86,7 +86,7 @@ method handle-exception($exception, $msg?) {
8686
return $exception.message
8787
}
8888

89-
say $exception;
89+
say $exception; # “say” is exactly what was meant, it's not a debugging leftover
9090
with $msg {
9191
if .channel ne $CAVE {
9292
.irc.send-cmd: PRIVMSG, $CAVE, I'm acting stupid on {.channel}. Help me.,
@@ -311,7 +311,7 @@ sub run-smth($full-commit-hash, $code, :$backend=‘rakudo-moar’) is export {
311311
sub getppid(--> int32) is native {*};
312312
kill getppid, 10; # SIGUSR1
313313
}
314-
say $build-path is locked. Waiting…;
314+
put $build-path is locked. Waiting…;
315315
sleep 0.5 # should never happen if setup correctly
316316
}
317317
if $archive-path.IO ~~ :e {

0 commit comments

Comments
 (0)