You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by jo...@apache.org on 2009/03/16 20:15:42 UTC
svn commit: r754984 -
/incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
Author: johnh
Date: Mon Mar 16 19:15:42 2009
New Revision: 754984
URL: http://svn.apache.org/viewvc?rev=754984&view=rev
Log:
Another case of not throwing an exception for non-fully-configured IFPC.
Modified:
incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
Modified: incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js?rev=754984&r1=754983&r2=754984&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js Mon Mar 16 19:15:42 2009
@@ -569,7 +569,9 @@
var relay = gadgets.rpc.getRelayUrl(targetId);
if (!relay) {
- throw new Error('No relay file assigned for IFPC');
+ if (console && console.log) {
+ console.log('No relay file assigned for IFPC');
+ }
}
// The RPC mechanism supports two formats for IFPC (legacy and current).