فهرست منبع

add error message

熊谷洸介(Kousuke Kumagai) 6 سال پیش
والد
کامیت
097c54ae4a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/client/js/components/Admin/Importer.jsx

+ 2 - 2
src/client/js/components/Admin/Importer.jsx

@@ -36,7 +36,7 @@ class Importer extends React.Component {
       toastSuccess('Import posts from esa success.');
     }
     catch (error) {
-      toastError('Error occurred in importing pages from esa.io');
+      toastError(error, 'Error occurred in importing pages from esa.io');
     }
   }
 
@@ -51,7 +51,7 @@ class Importer extends React.Component {
       toastSuccess('Test connection to esa success.');
     }
     catch (error) {
-      toastError('Test connection to esa failed.');
+      toastError(error, 'Test connection to esa failed.');
     }
   }