Use ex.toString instead of ex.getMessage to show exception type as well

This commit is contained in:
Naoki Takezoe
2017-11-04 23:20:14 +01:00
parent 6056642f69
commit ad5a0bb442

View File

@@ -5,7 +5,7 @@
<h1>@title</h1>
@if(context.loginAccount.map{_.isAdmin}.getOrElse(false)){
@e.map { ex =>
<h2>@ex.getMessage</h2>
<h2>@ex.toString</h2>
<table class="table table-condensed table-striped table-hover">
<tbody>
@ex.getStackTrace.map{ st =>