summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2005-05-03 17:22:15 +0000
committerivan <ivan>2005-05-03 17:22:15 +0000
commit89b9309553e8a1d6c197011962e7e15e4c22aaa6 (patch)
tree4db3bb041c2476deba427a28259ff46f307c5d5d
parent312bf516db3a1a69dfaf944255b2c08c3f4c1c3d (diff)
minutely better error reporting for pdf problems
-rw-r--r--FS/FS/cust_bill.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index e49e0f2c6..db4cbf0c9 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -1446,9 +1446,9 @@ sub print_pdf {
my $sfile = shell_quote $file;
system("pslatex $sfile.tex >/dev/null 2>&1") == 0
- or die "pslatex $file.tex failed: $!";
+ or die "pslatex $file.tex failed; see $file.log for details?\n";
system("pslatex $sfile.tex >/dev/null 2>&1") == 0
- or die "pslatex $file.tex failed: $!";
+ or die "pslatex $file.tex failed; see $file.log for details?\n";
#system('dvipdf', "$file.dvi", "$file.pdf" );
system(