[Yanel-commits] rev 20704 -
public/yanel/trunk/src/core/java/org/wyona/yanel/servlet
michi at wyona.com
michi at wyona.com
Sat Dec 9 13:32:19 CET 2006
Author: michi
Date: 2006-12-09 13:32:17 +0100 (Sat, 09 Dec 2006)
New Revision: 20704
Modified:
public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
Log:
error message added which should help better understand when such an error occurs
Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java 2006-12-09 12:30:39 UTC (rev 20703)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java 2006-12-09 12:32:17 UTC (rev 20704)
@@ -951,7 +951,7 @@
private String getRequestURLQS(HttpServletRequest request, String addQS, boolean xml) {
Realm realm = map.getRealm(new Path(request.getServletPath()));
// TODO: Handle this exception more gracefully!
- // if (realm == null) log.error("No realm found for path " + new Path(request.getServletPath()));
+ if (realm == null) log.error("No realm found for path " + new Path(request.getServletPath()));
String proxyHostName = realm.getProxyHostName();
String proxyPort = realm.getProxyPort();
String proxyPrefix = realm.getProxyPrefix();
More information about the Yanel-commits
mailing list