Просмотр исходного кода

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

Imprv/add error handling
Yuki Takei 7 лет назад
Родитель
Сommit
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);
   });
 }