Archived
1
0
Fork 0

croak instead of return

This commit is contained in:
Mercier Pierre-Olivier 2013-11-03 00:06:36 +01:00
parent 5c3309d042
commit 384a336851

View file

@ -21,7 +21,7 @@ sub process
my $path = $args->{param}{path} // "/srv/git/repositories/$year/$project_id/$login.git";
return "$path is not a valid path." if (! -d $path);
croak "$path is not a valid path." if (! -d $path);
my $tempdir = tempdir();