Browse Source

Improved debug info in error modal

master
Igor Zhukov 10 years ago
parent
commit
4a3463eefd
  1. 2
      app/partials/desktop/error_modal.html

2
app/partials/desktop/error_modal.html

@ -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…
Cancel
Save