diff --git a/src/app/features/account/importCtrl.js b/src/app/features/account/importCtrl.js index a8548491c60..f14374d2db1 100644 --- a/src/app/features/account/importCtrl.js +++ b/src/app/features/account/importCtrl.js @@ -43,6 +43,10 @@ function (angular, _) { $scope.importing = true; $scope.imported = []; $scope.next(); + }, function(err) { + var resp = err.message || err.statusText || 'Unknown error'; + var message = "Failed to load dashboards from selected data source, response from server was: " + resp; + $scope.appEvent('alert-error', ['Import failed', message]); }); };