synzen / MonitoRSS

MonitoRSS RSS bot (formerly known as Discord.RSS) with customizable feeds. https://monitorss.xyz
https://monitorss.xyz
MIT License
1.07k stars 237 forks source link

Bot crashes when trying to debug a feed #227

Closed rzumer closed 3 years ago

rzumer commented 3 years ago

Describe the bug

The debug command crashes MonitoRSS.

To Reproduce

Debian testing node v14.17.5 npm 6.14.15

  1. backup
  2. Find a feed ID
  3. debug <ID>
  4. Watch the bot crash

Sample log output:

[2021-08-29 22:44:15.341 +0200] USERLVL : [0] Added <ID> to debugging list for all shards.
    user: "<ID>, <Username>"
[2021-08-29 22:44:15.343 +0200] INFO    : [M] Adding <ID> to schedule manager debug
[2021-08-29 22:44:15.348 +0200] INFO    : [M] Detected process uncaughtException, sending kill signal to shards
[2021-08-29 22:44:15.372 +0200] ERROR   : [M] MongoDB disconnected
[2021-08-29 22:44:15.373 +0200] INFO    : [M] Stopped fetch intervals
[2021-08-29 22:44:15.384 +0200] INFO    : [M] Detected process exit, sending kill signal to shards
[2021-08-29 22:44:15.384 +0200] INFO    : [0] Received kill signal from sharding manager, closing MongoDB connection
[2021-08-29 22:44:15.406 +0200] INFO    : [0] Received kill signal from sharding manager, closing MongoDB connection
[2021-08-29 22:44:15.426 +0200] INFO    : [0] Exiting with status code 1

Branch (please specify one):

master/v6.13.29

Additional context

The last version I had installed, v6.13.1, works fine, tested after rolling back from v6.13.29.

synzen commented 3 years ago

Thanks for reporting the issue. This should be fixed in 6.13.30 now.