Fix logger logging '[object Object'
This commit is contained in:
parent
934baa60b0
commit
ecfe99912b
|
@ -32,7 +32,7 @@ http
|
|||
.validate(temp)
|
||||
.then((valid) => {
|
||||
req.on("end", () => {
|
||||
logger.log(`${sender} sent: ${valid}`);
|
||||
logger.log(`${sender} sent:`, valid);
|
||||
|
||||
data.push(valid);
|
||||
fs.writeFileSync(
|
||||
|
|
Loading…
Reference in a new issue