Hi,
So I was getting the following error: Server docroot returned 500-level response. Please check your configuration for possible errors.
and, after trying some things out, I finally decided to comment out the reject
on line 31 of index.js
and replace it with a resolve
call, after doing that I could see that the cause of the error was an undefined function, so it was an application problem not a server, or configuration one.
I believe the error message is misleading and that errors of this type should still resolve the promise instead of reject it. Maybe I'm missing the reason why you're checking for if (statusCodeType === 5)
and calling reject
instead of just resolving and letting the user see the error for themselves.
Please let me know your thoughts on this and thank you for your time and effort π.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too