diff options
-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 } |