Skip to content

Commit

Permalink
[backend] forwardevent: don't die if one arch cannot be notified
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Dec 2, 2013
1 parent 0f48954 commit 8fbd4f1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/backend/bs_repserver
Original file line number Diff line number Diff line change
Expand Up @@ -2037,9 +2037,12 @@ sub forwardevent {
next if $a =~ /^\./;
next unless -d "$eventdir/$a";
next if $a eq 'publish' || $a eq 'repository' || $a eq 'watch' || $a eq 'signer' || $a eq 'dispatch' || $a eq 'service';
dirty($projid, $repoid, $a) if defined $repoid;
writexml("$eventdir/$a/.$evname", "$eventdir/$a/$evname", $ev, $BSXML::event);
ping($a);
eval {
dirty($projid, $repoid, $a) if defined $repoid;
writexml("$eventdir/$a/.$evname", "$eventdir/$a/$evname", $ev, $BSXML::event);
ping($a);
};
warn($@) if $@;
}
}
return $BSStdServer::return_ok;
Expand Down

0 comments on commit 8fbd4f1

Please sign in to comment.