Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.onerror is not a function #37

Open
lltr opened this issue Jul 27, 2024 · 0 comments
Open

this.onerror is not a function #37

lltr opened this issue Jul 27, 2024 · 0 comments

Comments

@lltr
Copy link

lltr commented Jul 27, 2024

I occasionally get this error when trying to send a pushover notification. But I am not sure what might be the cause of it, because it does not happen everytime.

"pushover-notifications": "^1.2.3",

/app/node_modules/.pnpm/pushover-notifications@1.2.3/node_modules/pushover-notifications/lib/pushover.js:137
      this.onerror(error, res)
           ^

TypeError: this.onerror is not a function
    at Pushover.errors (/app/node_modules/.pnpm/pushover-notifications@1.2.3/node_modules/pushover-notifications/lib/pushover.js:137:12)
    at IncomingMessage.<anonymous> (/app/node_modules/.pnpm/pushover-notifications@1.2.3/node_modules/pushover-notifications/lib/pushover.js:250:12)
    at IncomingMessage.emit (node:events:526:35)
    at IncomingMessage.emit (node:domain:488:12)
    at endReadableNT (node:internal/streams/readable:1589:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    ```
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant