Skip to content

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Aug 29, 2023

I think this happens when detail is undefined. I am not sure if err itself can be undefined but I accounted for that just in case.

I went with detail, then the error message, then the status code, then a final fallback message.

@code-asher code-asher merged commit 0c75216 into main Aug 30, 2023
@code-asher code-asher deleted the undefined-error branch August 30, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants