소스 검색

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,7 +329,7 @@ JitsiConference.prototype._init = function(options = {}) {
329 329
                 this.sendMessage(
330 330
                     message, to, true /* sendThroughVideobridge */);
331 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…
취소
저장