Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated ERXExceptionPage to show actual Throwable instead of wrapper #824

Merged
merged 1 commit into from
Feb 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

table {
width: 100%;
border: 1px solid rgb(200,200,200);
border: 1px solid rgb(230,230,230);
border-collapse: collapse;
}

Expand All @@ -24,16 +24,16 @@
}

th {
background-color: rgb(230,230,230);
background-color: rgb(240,240,240);
}


table tr:nth-child(odd) {
background-color: rgb(250,250,250);
background-color: rgb(252,252,252);
}

table tr:nth-child(even) {
background-color: rgb(240,240,240);
background-color: rgb(245,245,245);
}

.filename-container {
Expand All @@ -53,8 +53,8 @@
.src-container {
font-family: monospace;
font-size: small;
border: 1px solid rgb(230,230,230);
color: rgb(50,50,50);
border: 1px solid rgb(200,200,200);
padding: 0px;
margin: 10px 0px;
overflow: hidden;
Expand All @@ -72,29 +72,29 @@
}

.odd-line {
background-color: rgb( 250,250,250);
background-color: rgb( 252,252,252);
}

.even-line {
background-color: rgb( 240,240,240);
background-color: rgb( 245,245,245);
}

.error-line {
background-color: rgb(255,180,180);
background-color: rgb(255,150,160);
}
</style>
</head>
<body>
<div class="container">
<h3><wo:str value="$exception.class.name" /><wo:if condition="$exception.cause"><span style="font-size: smaller; color: gray">(<wo:str value="$exception.cause" />)</span></wo:if></h3>
<h3><wo:str value="$exceptionParser.exception" /><wo:if condition="$exception.cause"> <span style="font-size: smaller; color: gray">(<wo:str value="$exception.cause" />)</span></wo:if></h3>
<p><wo:str value="$exceptionParser.message" /></p>
<wo:if condition="$showSource">
<div class="filename-container"><strong><wo:str value="$firstLineOfTrace.fileName" /></strong></div>
<div class="src-container">
<wo:repetition list="$lines" item="$currentSourceLine" index="$currentSourceLineIndex"><wo:container elementName="span" class="$sourceLineClass"><span><wo:str value="$currentActualLineNumber" /></span> <wo:str value="$currentSourceLine" /></wo:container></wo:repetition>
</div>
</wo:if>
<table class="table table-condensed table-bordered table-striped">
<table>
<tr>
<th>File</th>
<th>Line #</th>
Expand Down