No more error logging
parent
3236e66b00
commit
37caf87b3f
|
@ -101,9 +101,7 @@ module.exports = {
|
||||||
|
|
||||||
// If Keith, record location to file
|
// If Keith, record location to file
|
||||||
if (user.id==='56b020279f740067540f96e9'){
|
if (user.id==='56b020279f740067540f96e9'){
|
||||||
fs.appendFile('/srv/tracman/demo.txt', `${loc.tim} ${loc.lat} ${loc.lon} ${loc.dir} ${loc.spd}\n`, function (err) {
|
fs.appendFile('/srv/tracman/demo.txt', `${loc.tim} ${loc.lat} ${loc.lon} ${loc.dir} ${loc.spd}\n`);
|
||||||
if (err) { console.error('Error saving demo stuff:',err.stack); }
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue