When dumping the exception message, also dump ex.stack. (We know this works because it is Firefox only.)
diff --git a/js/ccnxProtocol/components/ccnxProtocolService.js b/js/ccnxProtocol/components/ccnxProtocolService.js
index c57d94a..6e7224c 100644
--- a/js/ccnxProtocol/components/ccnxProtocolService.js
+++ b/js/ccnxProtocol/components/ccnxProtocolService.js
@@ -74,7 +74,7 @@
return new ContentChannel(aURI, requestContent);
} catch (ex) {
- dump("CcnxProtocol.newChannel exception: " + ex + "\n");
+ dump("CcnxProtocol.newChannel exception: " + ex + "\n" + ex.stack);
}
},
diff --git a/js/ccnxProtocol/modules/ContentChannel.jsm b/js/ccnxProtocol/modules/ContentChannel.jsm
index fc7f500..4e83f10 100644
--- a/js/ccnxProtocol/modules/ContentChannel.jsm
+++ b/js/ccnxProtocol/modules/ContentChannel.jsm
@@ -147,7 +147,7 @@
this.requestContent(contentListener);
} catch (ex) {
- dump("ContentChannel.asyncOpen exception: " + ex + "\n");
+ dump("ContentChannel.asyncOpen exception: " + ex + "\n" + ex.stack);
}
};