Skip to content

Commit

Permalink
print stack instead of error object for better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
admosity committed Oct 31, 2016
1 parent d0d02da commit 75310c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<script>
System.import('<%= BOOTSTRAP_MODULE %>')
.catch(function (e) {
console.error(e,
'Report this error at https://github.com/mgechev/angular2-seed/issues');
console.error(e.stack || e,
'Not expecting this error? Report it at https://github.com/mgechev/angular2-seed/issues');
});
</script>
<% } %>
Expand Down

0 comments on commit 75310c9

Please sign in to comment.