Skip to content

Fix uncaught exception due to null body#25

Merged
mike-engel merged 1 commit intocustomerio:masterfrom
uphold-forks:bugfix/fix-null-body
Feb 24, 2020
Merged

Fix uncaught exception due to null body#25
mike-engel merged 1 commit intocustomerio:masterfrom
uphold-forks:bugfix/fix-null-body

Conversation

@nunofgs
Copy link
Copy Markdown
Contributor

@nunofgs nunofgs commented Feb 10, 2020

I've been sporadically getting an uncaught exception on some requests. The body is empty and therefore gets serialized as null.

Unfortunately this was not being caught by the promise and was coming out as an uncaught error, which crashed my application.

@mike-engel mike-engel merged commit dad4ab7 into customerio:master Feb 24, 2020
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