Skip to content

Commit 76f4def

Browse files
Update apache/helpers.php
Co-authored-by: William Desportes <[email protected]>
1 parent a245719 commit 76f4def

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apache/helpers.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ function decodeAndSaveSslFiles($base64_string, $prefix, $extension) {
3030

3131
// Write the decoded file to the output directory
3232
if (file_put_contents($output_file, base64_decode($file)) === false) {
33-
throw new SslFileGenerationException("Failed to write to $output_file");
33+
echo 'Failed to write to ' . $output_file;
34+
exit(1);
3435
}
3536

3637
// Add the output file path to the list

0 commit comments

Comments
 (0)