File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ public function execute()
106
106
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
107
107
unset($ category );
108
108
$ this ->_skippedCategories [] = $ data ['title ' ];
109
+ $ this ->_logger ->addDebug ('Blog Category Import [ ' . $ data ['title ' ] . ']: ' . $ e ->getMessage ());
109
110
}
110
111
}
111
112
@@ -168,6 +169,7 @@ public function execute()
168
169
$ this ->_importedPostsCount ++;
169
170
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
170
171
$ this ->_skippedPosts [] = $ data ['title ' ];
172
+ $ this ->_logger ->addDebug ('Blog Post Import [ ' . $ data ['title ' ] . ']: ' . $ e ->getMessage ());
171
173
}
172
174
173
175
unset($ post );
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ public function execute()
69
69
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
70
70
unset($ category );
71
71
$ this ->_skippedCategories [] = $ data ['title ' ];
72
+ $ this ->_logger ->addDebug ('Blog Category Import [ ' . $ data ['title ' ] . ']: ' . $ e ->getMessage ());
72
73
}
73
74
}
74
75
@@ -142,6 +143,7 @@ public function execute()
142
143
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
143
144
unset($ tag );
144
145
$ this ->_skippedTags [] = $ data ['title ' ];
146
+ $ this ->_logger ->addDebug ('Blog Tag Import [ ' . $ data ['title ' ] . ']: ' . $ e ->getMessage ());
145
147
}
146
148
}
147
149
@@ -257,6 +259,7 @@ public function execute()
257
259
$ this ->_importedPostsCount ++;
258
260
} catch (\Magento \Framework \Exception \LocalizedException $ e ) {
259
261
$ this ->_skippedPosts [] = $ data ['title ' ];
262
+ $ this ->_logger ->addDebug ('Blog Post Import [ ' . $ data ['title ' ] . ']: ' . $ e ->getMessage ());
260
263
}
261
264
262
265
unset($ post );
You can’t perform that action at this time.
0 commit comments