diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-09-01 18:02:07 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-09-01 18:02:07 +0200 |
commit | a5a4a49e0c8ded4740a0de91a31cf2c689a2f94c (patch) | |
tree | 02688c7edfb905f0a09183f45224c381f53d2355 /server/sonar-web/src/main/js/apps/background-tasks/views/StacktraceView.hbs | |
parent | d2da7f30d512284c943b82abc135483b59b85536 (diff) | |
download | sonarqube-a5a4a49e0c8ded4740a0de91a31cf2c689a2f94c.tar.gz sonarqube-a5a4a49e0c8ded4740a0de91a31cf2c689a2f94c.zip |
SONAR-7846 do not display both message and stacktrace
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/views/StacktraceView.hbs')
-rw-r--r-- | server/sonar-web/src/main/js/apps/background-tasks/views/StacktraceView.hbs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/views/StacktraceView.hbs b/server/sonar-web/src/main/js/apps/background-tasks/views/StacktraceView.hbs index 1a4d2eb4753..21ce604acb2 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/views/StacktraceView.hbs +++ b/server/sonar-web/src/main/js/apps/background-tasks/views/StacktraceView.hbs @@ -6,12 +6,12 @@ <div class="js-modal-messages"></div> {{#if loaded}} - <h4 class="spacer-bottom">{{t 'background_tasks.error_message'}}</h4> - <pre class="js-task-error-message">{{task.errorMessage}}</pre> - {{#if stacktrace}} - <h4 class="huge-spacer-top spacer-bottom">{{t 'background_tasks.error_stacktrace'}}</h4> + <h4 class="spacer-bottom">{{t 'background_tasks.error_stacktrace'}}</h4> <pre class="js-task-stacktrace">{{stacktrace}}</pre> + {{else}} + <h4 class="spacer-bottom">{{t 'background_tasks.error_message'}}</h4> + <pre class="js-task-error-message">{{task.errorMessage}}</pre> {{/if}} {{else}} <i class="spinner"></i> |