Merge pull request #2505 from coreos-inc/superuser-buildlogs-internal

Display full error information for build errors in superuser view
This commit is contained in:
josephschorr 2017-04-04 13:59:39 -04:00 committed by GitHub
commit d000cc656f
3 changed files with 26 additions and 5 deletions

View file

@ -17,5 +17,13 @@
<!-- Other issue -->
<span bo-if="!isPullError(error) || !localPullInfo.isLocal"
class="error-message" bo-text="error.message"></span>
<!-- Extended error information -->
<div bo-if="getBaseError(error) && isSuperuser">
Base Error Information: <pre>{{ getBaseError(entries) }}</pre>
</div>
<div bo-if="getInternalError(entries) && isSuperuser">
Internal Error Information: <pre>{{ getInternalError(entries) }}</pre>
</div>
</span>
</div>

View file

@ -49,7 +49,7 @@
<span class="container-content build-log-phase" phase="container"></span>
</div>
<div ng-switch-when="error">
<span class="container-content build-log-error" error="container" entries="logEntries"></span>
<span class="container-content build-log-error" error="container" is-superuser="isSuperuser" entries="logEntries"></span>
</div>
<div ng-switch-when="command">
<span class="container-content build-log-command" command="container"></span>