Skip to content
Browse files

Git::Deploy::Timing: re-add DON'T PANIC message broken in a150366

I broke the main sync hook eval { ... } die in a150366 because by
adding a local __DIE__ handler we'd just exit there and not print the
error message, fix that by re-throwing the error.

This timing stuff is still a giant hack that could be a lot nicer.
  • Loading branch information...
1 parent d99e341 commit 4abc345bfea8281cd208037e016a537ad27c065e @avar avar committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/git-deploy
View
2 bin/git-deploy
@@ -44,7 +44,7 @@ local $SIG{__DIE__} = sub {
print STDERR "@_";
push_timings("gdt_end");
write_timings();
- exit 1;
+ die;
};
use Git::Deploy::Say;
use Git::Deploy;

0 comments on commit 4abc345

Please sign in to comment.
Something went wrong with that request. Please try again.