Fix error logging for io helper
This commit is contained in:
parent
aa7369ce20
commit
fa1eb5eab6
@ -40,8 +40,10 @@ export function createFileIO(dir, fileName, bytes) {
|
||||
encoding: "utf-8",
|
||||
},
|
||||
(err) => {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user