[Libreoffice-commits] .: solenv/bin
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Mon Feb 6 08:54:30 PST 2012
solenv/bin/modules/installer/exiter.pm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit db3aaa31c88a65e9b39bffeda43b624257ca97ce
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Feb 6 17:54:13 2012 +0100
Print log file in case of error
...so that tinderbox output becomes useful.
diff --git a/solenv/bin/modules/installer/exiter.pm b/solenv/bin/modules/installer/exiter.pm
index 016de1d..18b3b31 100644
--- a/solenv/bin/modules/installer/exiter.pm
+++ b/solenv/bin/modules/installer/exiter.pm
@@ -91,7 +91,11 @@ sub exit_program
installer::files::save_file($installer::globals::logfilename ,\@installer::globals::globallogfileinfo);
}
installer::logger::print_error("$message\nin function: $function");
- installer::logger::print_error("Saved logfile: $installer::globals::logfilename\n");
+ print("ERROR, saved logfile $installer::globals::logfilename is:\n");
+ open(LOG, "<", $installer::globals::logfilename);
+ print ": $_" while (<LOG>);
+ print "\n";
+ close(LOG);
# Saving the debug info
More information about the Libreoffice-commits
mailing list