智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/1a/1ad1593f9240989f7f14b5a110d...

10 lines
317 B

const stringify = require('./stringify')
module.exports = function (errors) {
const errMsg = stringify(errors, 'error')
if (typeof errMsg !== 'string') {
global.__error_reporting__ && global.__error_reporting__(errMsg.type, errMsg.msg)
console.error(errMsg.msg)
} else {
console.error(errMsg)
}
}