|
|
@@ -387,7 +387,10 @@ CallStats.sendAddIceCandidateFailed = _try_catch(function (e, pc, cs) {
|
|
387
|
387
|
* @param {CallStats} cs callstats instance related to the error (optional)
|
|
388
|
388
|
*/
|
|
389
|
389
|
CallStats.sendUnhandledError = _try_catch(function (e, cs) {
|
|
390
|
|
- CallStats._reportError.call(cs, wrtcFuncNames.signalingError, e, null);
|
|
|
390
|
+ // for now send the stack property of errors, which is has the form:
|
|
|
391
|
+ // name: message <newline> stack(multiline)
|
|
|
392
|
+ CallStats._reportError
|
|
|
393
|
+ .call(cs, wrtcFuncNames.signalingError, e.stack, null);
|
|
391
|
394
|
});
|
|
392
|
395
|
|
|
393
|
396
|
module.exports = CallStats;
|