diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 10:09:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 11:02:14 +0200 |
commit | 7e3db5c46453115c4168e663f2b1df8f67fc6dc0 (patch) | |
tree | 893af7f2e089ce8b096f93affa58ef2d9c1ba1fe /solenv | |
parent | d66dfba86d998cc92caa442931120092ac7eaec1 (diff) |
Better error reporting
Change-Id: Id5fa59ebd8d656158c22552e6f06e61897df2fb5
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/files.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/files.pm b/solenv/bin/modules/installer/files.pm index 26715ed919c9..610ba4f2fe31 100644 --- a/solenv/bin/modules/installer/files.pm +++ b/solenv/bin/modules/installer/files.pm @@ -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 } |