mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-28 12:07:35 +01:00
Improved exception catch for #464
This commit is contained in:
parent
a277bf969c
commit
b4deb1a9b4
@ -159,8 +159,8 @@ public class DebugPageResponse extends ErrorResponse {
|
||||
for (String line : Benchmark.getAverages().asStringArray()) {
|
||||
content.append(line).append("<br>");
|
||||
}
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
content.append("ArrayIndexOutOfBoundsException on Benchmark.getAverages().asStringArray()");
|
||||
} catch (Exception e) {
|
||||
content.append("Exception on Benchmark.getAverages().asStringArray()");
|
||||
}
|
||||
content.append("```</pre>");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user