pm2-io-apm
pm2-io-apm copied to clipboard
NotifyFeature.getSafeError
Error: Non-error value: "{\"retry_after\":1,\"ok\":false,\"error\":\"rate_limited\"}"
at NotifyFeature.getSafeError (/home/ec2-user/.nvm/versions/node/v12.12.0/lib/node_modules/pm2/node_modules/@pm2/io/build/main/features/notify.js:80:16)
at NotifyFeature.onUnhandledRejection (/home/ec2-user/.nvm/versions/node/v12.12.0/lib/node_modules/pm2/node_modules/@pm2/io/build/main/features/notify.js:130:32)
at process.emit (events.js:210:5)
at process.EventEmitter.emit (domain.js:476:20)
at processPromiseRejections (internal/process/promises.js:201:33)
at processTicksAndRejections (internal/process/task_queues.js:94:32)
I'm seeing this trace when running fast performing jobs on our machines connected to PM2 Keymetrics. Not sure if the rate limited result is from the Keymetrics request or from the 3rd party requests we are referencing during the function execution on our machine.