This is an automated email from the ASF dual-hosted git repository. markt 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 210faae439 Code clean-up - no functional change. Use 'e' for exception not 't' 210faae439 is described below commit 210faae439a9d11534a29a0b24d1b7df1f04aee4 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Aug 19 12:35:49 2025 +0100 Code clean-up - no functional change. Use 'e' for exception not 't' Find and replace with Cursor Checked manually --- java/org/apache/tomcat/util/modeler/Registry.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/org/apache/tomcat/util/modeler/Registry.java b/java/org/apache/tomcat/util/modeler/Registry.java index 53d8f3eeb6..cd87fadb28 100644 --- a/java/org/apache/tomcat/util/modeler/Registry.java +++ b/java/org/apache/tomcat/util/modeler/Registry.java @@ -238,11 +238,11 @@ public class Registry implements RegistryMBean, MBeanRegistration { } getMBeanServer().invoke(current, operation, new Object[] {}, new String[] {}); - } catch (Exception t) { + } catch (Exception e) { if (failFirst) { - throw t; + throw e; } - log.info(sm.getString("registry.initError"), t); + log.info(sm.getString("registry.initError"), e); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org