mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-15 18:05:50 +01:00
Use ex.toString instead of ex.getMessage to show exception type as well
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<h1>@title</h1>
|
<h1>@title</h1>
|
||||||
@if(context.loginAccount.map{_.isAdmin}.getOrElse(false)){
|
@if(context.loginAccount.map{_.isAdmin}.getOrElse(false)){
|
||||||
@e.map { ex =>
|
@e.map { ex =>
|
||||||
<h2>@ex.getMessage</h2>
|
<h2>@ex.toString</h2>
|
||||||
<table class="table table-condensed table-striped table-hover">
|
<table class="table table-condensed table-striped table-hover">
|
||||||
<tbody>
|
<tbody>
|
||||||
@ex.getStackTrace.map{ st =>
|
@ex.getStackTrace.map{ st =>
|
||||||
|
|||||||
Reference in New Issue
Block a user