Lankesh Zade
Lankesh Zade
**Fix for a bug filed in following github issue:** Getting 'TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined' on tail.unwatch() #19 As per definition in https://nodejs.org/api/fs.html#fs_fs_close_fd_callback, **fs.close** expects a...
**Here's stack trace:** TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined at makeCallback (fs.js:168:11) at Object.close (fs.js:427:14) at Tail.unwatch (/home/komal/projects/zestl/source_code/TwigMeServerApplication/docker/clients/python_error_logs/api/node_modules/always-tail/index.js:164:10) at Socket. (/home/komal/projects/zestl/source_code/TwigMeServerApplication/docker/clients/python_error_logs/api/services/tail_file.js:22:14) at Socket.emit (events.js:327:22) at TCP. (net.js:673:12)...