Improved debug info in error modal
This commit is contained in:
parent
c7f725a9e0
commit
4a3463eefd
@ -52,7 +52,7 @@
|
|||||||
<div ng-if="error" class="error_modal_details" ng-switch="error.detailsShown">
|
<div ng-if="error" class="error_modal_details" ng-switch="error.detailsShown">
|
||||||
<textarea ng-switch-when="true" rows="3" onclick="this.select()">Method: {{error.input || 'N/A'}}
|
<textarea ng-switch-when="true" rows="3" onclick="this.select()">Method: {{error.input || 'N/A'}}
|
||||||
Result: {{error.originalError ? error.originalError : (error.stack ? (error.name || '') + ' ' + (error.description || error.message) : error)}}
|
Result: {{error.originalError ? error.originalError : (error.stack ? (error.name || '') + ' ' + (error.description || error.message) : error)}}
|
||||||
Stack: {{error.stack}}</textarea>
|
Stack: {{error.originalError.stack || error.stack}}</textarea>
|
||||||
<div ng-switch-default>
|
<div ng-switch-default>
|
||||||
<a href="" ng-click="error.detailsShown = true" my-i18n="error_modal_tech_details"></a>
|
<a href="" ng-click="error.detailsShown = true" my-i18n="error_modal_tech_details"></a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user