From 3cb30ba1dd781136c484ce4e3c955f818f182fc2 Mon Sep 17 00:00:00 2001 From: Abel Coronado Date: Thu, 20 Apr 2017 12:07:38 +0200 Subject: [PATCH] Added error message in import vCenter template (#263) --- src/sunstone/public/app/utils/vcenter/templates.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sunstone/public/app/utils/vcenter/templates.js b/src/sunstone/public/app/utils/vcenter/templates.js index 6644d33101..373d14cde7 100644 --- a/src/sunstone/public/app/utils/vcenter/templates.js +++ b/src/sunstone/public/app/utils/vcenter/templates.js @@ -240,6 +240,10 @@ define(function(require) { }); }, error: function(response){ + VCenterCommon.importFailure({ + context : row_context, + message : OpenNebulaError(response).error.message + }); Notifier.onError({}, OpenNebulaError(response)); } });