فهرست منبع

Merge pull request #734 from weseek/fix/add-error-handling

Imprv/add error handling
Yuki Takei 7 سال پیش
والد
کامیت
d7a1d0b617
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/client/js/hackmd-agent.js

+ 2 - 0
src/client/js/hackmd-agent.js

@@ -122,6 +122,8 @@ function connectToParentWithPenpal() {
   });
   connection.promise.then(parent => {
     window.growi = parent;
+  }).catch(err => {
+    console.log(err);
   });
 }