You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2022/07/14 22:52:12 UTC
[brooklyn-ui] 02/02: tidy error message for missing tasks
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
commit 2d3ca889c819660c7badb7db1a9c8de84ae88e70
Author: Alex Heneveld <al...@cloudsoft.io>
AuthorDate: Thu Jul 14 23:51:52 2022 +0100
tidy error message for missing tasks
---
.../app/views/main/inspect/activities/detail/detail.controller.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui-modules/app-inspector/app/views/main/inspect/activities/detail/detail.controller.js b/ui-modules/app-inspector/app/views/main/inspect/activities/detail/detail.controller.js
index 5efaff32..92549d51 100644
--- a/ui-modules/app-inspector/app/views/main/inspect/activities/detail/detail.controller.js
+++ b/ui-modules/app-inspector/app/views/main/inspect/activities/detail/detail.controller.js
@@ -77,8 +77,8 @@ function DetailController($scope, $state, $stateParams, $log, $uibModal, $timeou
$log.warn('Error loading activity for '+activityId, error);
// prefer this simpler error message over the specific ones below
vm.errorBasic = true;
- vm.error = $sce.trustAsHtml('Cannot load activity with ID: <b>' + _.escape(activityId+' <i>x</i>') + '</b> <br/><br/>' +
- 'Task may have completed and been cleared from memory. Details may be available in logs.');
+ vm.error = $sce.trustAsHtml('Cannot load activity with ID: <b>' + _.escape(activityId) + '</b> <br/><br/>' +
+ 'Task may have completed and been cleared from memory, or may not have been run. Details may be available in logs.');
});
activityApi.activityChildren(activityId).then((response)=> {