You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2006/12/12 22:23:39 UTC
svn commit: r486371 - /incubator/xap/trunk/src/xap/session/EventHandler.js
Author: jmargaris
Date: Tue Dec 12 14:23:38 2006
New Revision: 486371
URL: http://svn.apache.org/viewvc?view=rev&rev=486371
Log:
better error handling
Modified:
incubator/xap/trunk/src/xap/session/EventHandler.js
Modified: incubator/xap/trunk/src/xap/session/EventHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/session/EventHandler.js?view=diff&rev=486371&r1=486370&r2=486371
==============================================================================
--- incubator/xap/trunk/src/xap/session/EventHandler.js (original)
+++ incubator/xap/trunk/src/xap/session/EventHandler.js Tue Dec 12 14:23:38 2006
@@ -18,6 +18,7 @@
Xap.provide('xap.session.EventHandler');
Xap.require('xap.util.Exception');
+Xap.require('xap.util.XapException');
@@ -104,7 +105,7 @@
}
xap.session.EventHandler.prototype.requestFailed = function(url, response, error ){
- alert("request failed for URL:" + url);
+ alert("request failed for URL:" + url + " due to " + xap.util.XapException.exceptionToString(error));
//TODO handle better
}