Error message if unable to write to the trace directory
This commit is contained in:
parent
15790db577
commit
4bff8d88eb
|
@ -329,7 +329,7 @@ sub update_trace
|
|||
chmod 0755, "$basedir/$year/$project_id/traces/$rendu_id/";
|
||||
}
|
||||
|
||||
open my $out, ">", "$basedir/$year/$project_id/traces/$rendu_id/$login.xml" or croak("");
|
||||
open my $out, ">", "$basedir/$year/$project_id/traces/$rendu_id/$login.xml" or croak("Unable to write to $rendu_id/$login.xml");
|
||||
print $out $trace;
|
||||
close $out;
|
||||
|
||||
|
|
Reference in New Issue
Block a user