diff --git a/process/files/send_git.pl b/process/files/send_git.pl index 7322d39..a2e5ee1 100644 --- a/process/files/send_git.pl +++ b/process/files/send_git.pl @@ -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();