Skip to content

Fix a crash when an application error type has a non-numeric "status" property#178

Merged
lukeed merged 2 commits intolukeed:nextfrom
lovasoa:fix-crash
Oct 1, 2021
Merged

Fix a crash when an application error type has a non-numeric "status" property#178
lukeed merged 2 commits intolukeed:nextfrom
lovasoa:fix-crash

Conversation

@lovasoa
Copy link

@lovasoa lovasoa commented Oct 1, 2021

Hello @lukeed !

This is a follow-up on the sveltekit issue and f95a5b4

I hope this helps, and lets the discussions be less heated next time ;)

fix a crash when an application error type has a non-numeric "status" property

See lukeed@f95a5b4
@lovasoa lovasoa changed the title Fix crashfix a crash when an application error type has a non-numeric "status" propertySee https://github.com/lukeed/polka/commit/f95a5b4ad93315468cd16e62e69725a317e8ebc0 Fix a crash when an application error type has a non-numeric "status" property Oct 1, 2021
@lukeed
Copy link
Owner

lukeed commented Oct 1, 2021

Thanks for PR.

PS It's not heated on my end – just trying to give you feedback as to how & why your reports come across as antagonistic. Appreciate the contribution

@lukeed lukeed merged commit 8448ac0 into lukeed:next Oct 1, 2021
lukeed added a commit that referenced this pull request Oct 1, 2021
- include non-numeric `err.status` tests
- restores typeof check from #178
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