瀏覽代碼

ref(JitsiConference): mention ping type and include the error message

There are different types of pings in the app, so it's good to mention
which one is the error being logged for. Also extracts the error
message to give any details about the error.
dev1
paweldomas 5 年之前
父節點
當前提交
cbbe37c16c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      JitsiConference.js

+ 1
- 1
JitsiConference.js 查看文件

329
                 this.sendMessage(
329
                 this.sendMessage(
330
                     message, to, true /* sendThroughVideobridge */);
330
                     message, to, true /* sendThroughVideobridge */);
331
             } catch (error) {
331
             } catch (error) {
332
-                logger.warn('Failed to send a ping request or response.');
332
+                logger.warn('Failed to send E2E ping request or response.', error && error.msg);
333
             }
333
             }
334
         });
334
         });
335
 
335
 

Loading…
取消
儲存