F #5248 Ec2 errors reported to the driver

This commit is contained in:
semedi committed 2017-07-26 11:08:24 +02:00
1 parent 399dd4de32
commit dee8075be7
1 file changed
+2
+2
View File
@@ -56,6 +56,8 @@ def handle_exception(action, ex, host, did, id = nil, file = nil)
id ||= ""
OpenNebula::log_error(action + " of VM #{id} #{did} on host #{host} #{file} "+
"due to \"#{ex.message}\"")
OpenNebula.error_message("There is a problem: #{ex.message}")
STDERR.puts "********* STACK TRACE *********"
STDERR.puts ex.backtrace
STDERR.puts "*******************************"