Sfoglia il codice sorgente

ref(JingleSessionPC): use template string

dev1
paweldomas 8 anni fa
parent
commit
2f6552b857
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3
    2
      modules/xmpp/JingleSessionPC.js

+ 3
- 2
modules/xmpp/JingleSessionPC.js Vedi File

@@ -713,8 +713,9 @@ export default class JingleSessionPC extends JingleSession {
713 713
                     this.notifyMySSRCUpdate(mySdp, newSdp);
714 714
                     finishedCallback();
715 715
                 }, (error) => {
716
-                    logger.error("Error renegotiating after processing"
717
-                                + " remote source-add: " + error);
716
+                    logger.error(
717
+                        `Error renegotiating after processing remote source-add:
718
+                        ${error}`);
718 719
                     finishedCallback(error);
719 720
                 });
720 721
         };

Loading…
Annulla
Salva