We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0658454 commit a99b9a6Copy full SHA for a99b9a6
1 file changed
plugins/output/adapt/importsource.js
@@ -183,7 +183,7 @@ function ImportSource(req, done) {
183
app.contentmanager.getContentPlugin('tag', function(error, plugin) {
184
if(!error) {
185
plugin.create({ title: tag.title}, function(error, record) {
186
- if(error) logger.log('warn', 'Failed to create asset tag: ' + (tag.title || '') + ' ' + error);
+ if(error) return logger.log('warn', 'Failed to create asset tag: ' + (tag.title || '') + ' ' + error);
187
tags.push(record._id);
188
});
189
};
0 commit comments