Skip to content

Commit 79176da

Browse files
committed
Fail indexing jobs that die.
1 parent 5024c1c commit 79176da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/MetaCPAN/Queue.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ sub startup {
3939
}
4040
catch {
4141
warn $_;
42+
$job->fail( { message => $_ } );
4243
};
4344
}
4445
);

0 commit comments

Comments
 (0)