1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-21 06:09:21 +00:00
Lidarr/frontend/gulp/helpers/errorHandler.js
Qstick 0a6f552d5b
New: Cleanup UI tooling, Update to Webpack 4, Gulp 4 (#655)
* New: Webpack 4

* New: Gulp 4

* New: Transpile UI for old browsers

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-03-08 21:10:23 -05:00

6 lines
183 B
JavaScript

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