Skip to content

Commit

Permalink
Turn on debugging as some commits seem to not get emailed
Browse files Browse the repository at this point in the history
  • Loading branch information
Beirdo committed Dec 13, 2010
1 parent ce4373d commit b682faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_hooks/email_hook.pl
Expand Up @@ -7,7 +7,7 @@
use JSON;
use Mail::Send;

my $debug = 0;
my $debug = 1;

my $r = shift;

Expand All @@ -26,7 +26,7 @@
$payload = $json->decode($payload);
if ( $debug ) {
open FH, ">", "/tmp/dump.json";
open FH, ">>", "/tmp/dump.json";
print FH $json->pretty->encode($payload);
close FH;
}
Expand Down

0 comments on commit b682faf

Please sign in to comment.