Pārlūkot izejas kodu

Fixes JS error when sends JingleSessionPC errors to callstats

master
hristoterezov 8 gadus atpakaļ
vecāks
revīzija
e862d165d7
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4
    3
      modules/xmpp/JingleSessionPC.js

+ 4
- 3
modules/xmpp/JingleSessionPC.js Parādīt failu

@@ -1078,10 +1078,11 @@ JingleSessionPC.prototype.newJingleErrorHandler = function(request, failureCb) {
1078 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 1084
         // part of the session object
1084
-        error.session = this;
1085
+        // error.session = this;
1085 1086
 
1086 1087
         logger.error("Jingle error", error);
1087 1088
         if (failureCb) {

Notiek ielāde…
Atcelt
Saglabāt