Commit ce416600 authored by Leigh B Stoller's avatar Leigh B Stoller

Spit parser errors so user sees them.

parent fdbd7e0e
...@@ -181,6 +181,8 @@ close(ERR); ...@@ -181,6 +181,8 @@ close(ERR);
if ($?) { if ($?) {
my $tmp = $?; my $tmp = $?;
print STDERR $errs; print STDERR $errs;
system("/bin/cat $xmlfile")
if (-s $xmlfile);
system("/bin/rm -rf $tmpdir"); system("/bin/rm -rf $tmpdir");
# This error is shown to the user. # This error is shown to the user.
if (defined($ofile)) { if (defined($ofile)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment