Selaa lähdekoodia

导入失败打log message

zhangweicheng 6 vuotta sitten
vanhempi
commit
edf9055112
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/pm/facade/pm_facade.js

+ 1 - 1
modules/pm/facade/pm_facade.js

@@ -1683,7 +1683,7 @@ async function doDownLoadAndImport(privateDownloadUrl,info) {
                     doc.projectID = result.constructionProjectID;
                 }
             } catch (error) {
-                console.log(error);
+                console.log(error.message);
                 doc.errorMsg = "导入失败,请检查文件!";
                 doc.status = "error";
             } finally {