diff options
Diffstat (limited to 'lib/Ultramarine/Model/Collection.pm6')
-rw-r--r-- | lib/Ultramarine/Model/Collection.pm6 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Ultramarine/Model/Collection.pm6 b/lib/Ultramarine/Model/Collection.pm6 index c8cddf7..449e7ed 100644 --- a/lib/Ultramarine/Model/Collection.pm6 +++ b/lib/Ultramarine/Model/Collection.pm6 @@ -16,6 +16,9 @@ class Ultramarine::Model::Collection { has $!mark-ready = $!is-ready.vow; method update() { + # I don't know what to do when things go wrong, let's "log" + # it, at least + CATCH { default { .perl.say } } react whenever $.dirscan.scan -> $path { when $path ~~ Ultramarine::Model::DirScanner::EndOfScan { # we should use this to check that all the files in |