diff --git a/Plan/src/main/java/com/djrapitops/plan/systems/webserver/response/DebugPageResponse.java b/Plan/src/main/java/com/djrapitops/plan/systems/webserver/response/DebugPageResponse.java index 3d03e9e8a..5ad64dfe8 100644 --- a/Plan/src/main/java/com/djrapitops/plan/systems/webserver/response/DebugPageResponse.java +++ b/Plan/src/main/java/com/djrapitops/plan/systems/webserver/response/DebugPageResponse.java @@ -130,8 +130,12 @@ public class DebugPageResponse extends ErrorResponse { private void appendBenchmarks(StringBuilder content) { content.append("
### Benchmarks
```
"); - for (String line : Benchmark.getAverages().asStringArray()) { - content.append(line).append("
"); + try { + for (String line : Benchmark.getAverages().asStringArray()) { + content.append(line).append("
"); + } + } catch (ArrayIndexOutOfBoundsException e) { + content.append("ArrayIndexOutOfBoundsException on Benchmark.getAverages().asStringArray()"); } content.append("```
"); }