瀏覽代碼

Fixes JS error when sends JingleSessionPC errors to callstats

master
hristoterezov 9 年之前
父節點
當前提交
e862d165d7
共有 1 個檔案被更改,包括 4 行新增3 行删除
  1. 4
    3
      modules/xmpp/JingleSessionPC.js

+ 4
- 3
modules/xmpp/JingleSessionPC.js 查看文件

1078
             error.source = request.tree();
1078
             error.source = request.tree();
1079
         }
1079
         }
1080
 
1080
 
1081
-        // FIXME: JSON.stringify(error) exception for
1082
-        // circular dependancies when we print that error. Maybe we can include
1081
+        // Commented to fix JSON.stringify(error) exception for
1082
+        // circular dependancies when we print that error.
1083
+        // FIXME: Maybe we can include
1083
         // part of the session object
1084
         // part of the session object
1084
-        error.session = this;
1085
+        // error.session = this;
1085
 
1086
 
1086
         logger.error("Jingle error", error);
1087
         logger.error("Jingle error", error);
1087
         if (failureCb) {
1088
         if (failureCb) {

Loading…
取消
儲存