Errors are best saved and shown
This commit is contained in:
parent
ecf03827c1
commit
5b8456fa69
2 changed files with 4 additions and 3 deletions
|
@ -3,11 +3,12 @@
|
|||
use strict;
|
||||
use warnings;
|
||||
use v5.10;
|
||||
use File::Basename;
|
||||
|
||||
use ACU::API::Projects;
|
||||
use ACU::LDAP;
|
||||
use ACU::Log;
|
||||
$ACU::Log::log_file = undef;
|
||||
$ACU::Log::log_file = "/var/log/hooks/" . basename($0) . ".log";
|
||||
use ACU::Process;
|
||||
|
||||
# First, check if the repository is in the subjects/ directory
|
||||
|
|
Reference in a new issue