Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Minimize payloads processing failure impact #334

Merged
merged 1 commit into from
May 19, 2021
Merged

Conversation

feedmeapples
Copy link
Contributor

@feedmeapples feedmeapples commented May 19, 2021

What was changed

Added a trycatch block for payloads processing
Added logging if processing fails

Why?

To cover an unexpected case if payload is not being serialized to json, make it easier to debug, still show the rest of UI (history events etc).

Checklist

  1. Closes issue:

  2. How was this tested:

Using openNClosed samples fixture + bench tests data. Lastly cicd (to be tested)

  1. Any docs updates needed?

No

@feedmeapples feedmeapples requested a review from swyxio May 19, 2021 00:32
@feedmeapples feedmeapples marked this pull request as draft May 19, 2021 00:32
@feedmeapples feedmeapples changed the title Minimize failure of payloads processing Minimize payloads processing failure impact May 19, 2021
Copy link
Contributor

@swyxio swyxio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good although that may be a lot of data to log

@feedmeapples feedmeapples marked this pull request as ready for review May 19, 2021 00:54
@feedmeapples feedmeapples merged commit dc5e218 into master May 19, 2021
@feedmeapples feedmeapples deleted the trycatch-payloads branch May 19, 2021 00:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants