1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 15:32:31 +01:00
Sonarr/frontend/gulp/helpers/errorHandler.js

7 lines
183 B
JavaScript
Raw Normal View History

const colors = require('ansi-colors');
2018-01-13 03:01:27 +01:00
module.exports = function errorHandler(error) {
console.log(colors.red(`Error (${error.plugin}): ${error.message}`));
2018-01-13 03:01:27 +01:00
this.emit('end');
};