summaryrefslogtreecommitdiff
path: root/lib/MaildirIndexer/ScanDir.rakumod
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-01-25 16:25:20 +0000
committerdakkar <dakkar@thenautilus.net>2020-01-25 16:25:20 +0000
commite55f4624cf43a7da5e67706d2759a38298b327e7 (patch)
tree22cca5121fe86413984d71339a5db70142ea8cd6 /lib/MaildirIndexer/ScanDir.rakumod
parentsay where things went wrong (diff)
downloadMaildirIndexer-e55f4624cf43a7da5e67706d2759a38298b327e7.tar.gz
MaildirIndexer-e55f4624cf43a7da5e67706d2759a38298b327e7.tar.bz2
MaildirIndexer-e55f4624cf43a7da5e67706d2759a38298b327e7.zip
Revert "fewer temporary variables"
This reverts commit 314ee051c170c33d2c912b6750f916b73f9cb507. I think that the bug with LEAVE messes up return values inside Log::Timeline as well
Diffstat (limited to 'lib/MaildirIndexer/ScanDir.rakumod')
-rw-r--r--lib/MaildirIndexer/ScanDir.rakumod2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MaildirIndexer/ScanDir.rakumod b/lib/MaildirIndexer/ScanDir.rakumod
index 4d6230d..f0ea0b7 100644
--- a/lib/MaildirIndexer/ScanDir.rakumod
+++ b/lib/MaildirIndexer/ScanDir.rakumod
@@ -7,7 +7,7 @@ sub scan-dir(*@paths --> Supply) is export {
supply {
my %watched-dirs;
- CATCH { when X::IO { }; default { warn .gist; done } }
+ CATCH { when X::IO { }; default { warn $_; done } }
sub start-watching(IO::Path $dir) {
%watched-dirs{$dir.Str} = True;