Skip to content

ERR_INVALID_CALLBACK when logfile is deleted #18

Description

@rafipiccolo

Hello,
i have an exception with the code from readme when logfile get deleted.

#> node --version
v10.15.1
#> node tail.js
got line: aaa
got line: abc
fs.js:137
throw new ERR_INVALID_CALLBACK();
^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:137:11)
at Object.close (fs.js:395:20)
at next (/root/scripts/logpusher/node_modules/always-tail/index.js:27:12)
at /root/scripts/logpusher/node_modules/always-tail/index.js:52:31
at FSReqWrap.oncomplete (fs.js:155:5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions