You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2025/02/11 11:03:07 UTC

(tomcat) branch 10.1.x updated: Fix oops with the log test

This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new aa0aaad878 Fix oops with the log test
aa0aaad878 is described below

commit aa0aaad87849e46d7575d1296efda605d487285f
Author: remm <re...@apache.org>
AuthorDate: Tue Feb 11 12:00:13 2025 +0100

    Fix oops with the log test
---
 test/org/apache/juli/TestJsonFormatter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/juli/TestJsonFormatter.java b/test/org/apache/juli/TestJsonFormatter.java
index 9114556ad9..5bb7d9dae1 100644
--- a/test/org/apache/juli/TestJsonFormatter.java
+++ b/test/org/apache/juli/TestJsonFormatter.java
@@ -51,7 +51,7 @@ public class TestJsonFormatter {
         LinkedHashMap<String,Object> json = parser.object();
         Assert.assertEquals(json.get("method"), "testFormat");
         @SuppressWarnings("unchecked")
-        ArrayList<Object> trace = (ArrayList<Object>) json.get("trace");
+        ArrayList<Object> trace = (ArrayList<Object>) json.get("throwable");
         Assert.assertEquals(trace.get(0), "java.lang.IllegalStateException: Bad state");
 
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org