cofacts / rumors-line-bot

Line bot that checks if a message contains internet rumor.
MIT License
77 stars 19 forks source link

BadRequestError: request aborted #188

Open MrOrz opened 4 years ago

MrOrz commented 4 years ago

View details in Rollbar: https://rollbar.com/mrorz/rumors-line-bot/items/208/


BadRequestError: request aborted
  File "/app/node_modules/raw-body/index.js", line 231, in IncomingMessage.onAborted
        done(createError(400, 'request aborted', {
  File "events.js", line 310, in IncomingMessage.emit
  File "_http_server.js", line 532, in abortIncoming
  File "_http_server.js", line 525, in socketOnClose
  File "events.js", line 322, in Socket.emit
  File "net.js", line 672, in TCP.<anonymous>
MrOrz commented 4 years ago

Should if this is due to normal usage (e.g. pressed an outdated button). If it is, we should configure rollbar to ignore such error.

MrOrz commented 4 years ago

Or maybe the user aborted the loading LIFF due to long waiting time?