我需要在我的数据库中插入一个带有错误的日志错误。
mysql.query(sql_log, [sucess], function (err, result) {
if (err){
mysql.rollback(function() {
throw err;
});
}
});
我需要得到 err.message
我需要在我的数据库中插入一个带有错误的日志错误。
mysql.query(sql_log, [sucess], function (err, result) {
if (err){
mysql.rollback(function() {
throw err;
});
}
});
我需要得到 err.message