Skip to content

Commit

Permalink
[yegor256#1207] Fix stacktrace
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Mar 10, 2024
1 parent a6bc06e commit 4ce7c32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/rultor/web/TkAppFallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*/
package com.rultor.web;

import com.jcabi.log.Logger;
import com.jcabi.manifests.Manifests;
import io.sentry.Sentry;
import java.io.IOException;
Expand Down Expand Up @@ -104,7 +105,7 @@ private static Response fatal(final RqFallback req) throws IOException {
TkAppFallback.class.getResource("error.html.vm"),
new RsVelocity.Pair(
"err",
req.throwable().getStackTrace()
Logger.format("%[exception]s", req.throwable())
),
new RsVelocity.Pair("rev", TkAppFallback.REV)
),
Expand Down

0 comments on commit 4ce7c32

Please sign in to comment.