Merge pull request #418 from Semedi/F5248

F #5248 Ec2 errors reported to the driver
This commit is contained in:
Javi Fontan authored and GitHub committed 2017-07-27 16:42:01 +02:00
commit 784bbc04a4
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 "*******************************"