https://github.com/kalenjordan/pros.global
I'm not exactly sure how to reproduce, but usually within 2 to 8 hours it happens on my app (https://pros.global). It seems that axios is hitting a 500 error response but I have no indication of what API request failed exactly.
NuxtServerError
Request failed with status code 500
/home/forge/pros.global/node_modules/axios/lib/core/createError.js in createError at line 16:15
/home/forge/pros.global/node_modules/axios/lib/core/settle.js in settle at line 18:12
/home/forge/pros.global/node_modules/axios/lib/adapters/http.js in IncomingMessage.handleStreamEnd at line 201:11
events.js in IncomingMessage.emit at line 187:15
domain.js in IncomingMessage.EventEmitter.emit at line 459:23
_stream_readable.js in endReadableNT at line 1094:12
internal/process/next_tick.js in process._tickCallback at line 63:19
I would expect that I would have some way to know which API call failed in the error log.
There is no indication of which API call failed.
Perhaps there is a way within axios to log all API requests that go through so that I could at least correlate the error to that log?
If you use the nuxt axios module you can set debug to true so all requests are logged (be aware of disk space issues if you are logging this to file and running for 8 hrs!): https://axios.nuxtjs.org/options#debug
Thanks for your contribution to Nuxt.js!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you would like this issue to remain open:
Issues that are labeled as 馃晲Pending
will not be automatically marked as stale.