Kaydet (Commit) 7e3db5c4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Better error reporting

Change-Id: Id5fa59ebd8d656158c22552e6f06e61897df2fb5
üst d66dfba8
......@@ -32,6 +32,7 @@ use warnings;
use installer::exiter;
use installer::logger;
use Carp;
############################################
# File Operations
......@@ -86,7 +87,7 @@ sub save_file
if ( $savefile =~ /\.log/ )
{
print "\n*************************************************\n";
print "ERROR: Cannot write log file: $savefile";
print "ERROR: Cannot write log file $savefile, $!";
print "\n*************************************************\n";
exit(-1); # exiting the program to avoid endless loops
}
......
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