mirror of https://github.com/lissy93/dashy
12 lines
283 B
JavaScript
12 lines
283 B
JavaScript
/* eslint no-console: ["error", { allow: ["warn", "error"] }] */
|
|
|
|
/**
|
|
* Function called when an error happens
|
|
* If you wish to use an error logging service, put code for it here
|
|
*/
|
|
const ErrorHandler = function handler(msg) {
|
|
console.warn(msg);
|
|
};
|
|
|
|
export default ErrorHandler;
|