This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new 63d1fdcfe7 [FIX] VacationRoutes error handling 500 instead of 500
(#2942)
63d1fdcfe7 is described below
commit 63d1fdcfe7c6d5813a474d16315b035dd334a459
Author: Benoit TELLIER <[email protected]>
AuthorDate: Tue Feb 17 18:33:36 2026 +0100
[FIX] VacationRoutes error handling 500 instead of 500 (#2942)
---
.../src/main/java/org/apache/james/webadmin/routes/VacationRoutes.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/server/protocols/webadmin/webadmin-data/src/main/java/org/apache/james/webadmin/routes/VacationRoutes.java
b/server/protocols/webadmin/webadmin-data/src/main/java/org/apache/james/webadmin/routes/VacationRoutes.java
index 8d518d9352..dc7c46ba95 100644
---
a/server/protocols/webadmin/webadmin-data/src/main/java/org/apache/james/webadmin/routes/VacationRoutes.java
+++
b/server/protocols/webadmin/webadmin-data/src/main/java/org/apache/james/webadmin/routes/VacationRoutes.java
@@ -134,7 +134,7 @@ public class VacationRoutes implements Routes {
try {
return usersRepository.contains(username);
} catch (UsersRepositoryException e) {
- return false;
+ throw new RuntimeException(e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]