Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add more detail to error message

this error normally happens due to some permission issue on the log
file, but we weren't printing the actual cause, so it was confusing
  • Loading branch information...
commit 20484845786fedc48ea3b78f0b9375a346485d94 1 parent 8e3ee2f
Sitaram Chamarty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/lib/Gitolite/
2  src/lib/Gitolite/
@@ -277,7 +277,7 @@ sub gl_log {
my $fh;
logger_plus_stderr( "errors found before logging could be setup", "$msg" ) if not $ENV{GL_LOGFILE};
open my $lfh, ">>", $ENV{GL_LOGFILE}
- or logger_plus_stderr( "errors found before logfile could be created", "$msg" );
+ or logger_plus_stderr( "errors found but logfile could not be created", "$ENV{GL_LOGFILE}: $!", "$msg" );
print $lfh "$ts\t$tid\t$msg\n";
close $lfh;
Please sign in to comment.
Something went wrong with that request. Please try again.