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

Clean up startup for the pusher #6558

Merged
merged 7 commits into from
Dec 18, 2019
Merged

Clean up startup for the pusher #6558

merged 7 commits into from
Dec 18, 2019

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 17, 2019

There are several separate but related commits here; suggest reviewing them independently. It's all about trying to stop the pusher from logging a load of exceptions at startup.

`str.decode()` doesn't exist on python3, so presumably this code was doing
nothing
When we get a row with unparsable json, drop the row, rather than returning a
row with null `data`, which will then cause an explosion later on.
Log the ID to help us understand the problem
We know we'll have a `data` member, since that comes from the database. What we
*don't* know is if that is a dict, and if that has a `brand` member, and if
that member is a string.
@richvdh richvdh requested a review from a team December 17, 2019 10:20
@richvdh richvdh merged commit d6752ce into develop Dec 18, 2019
@richvdh richvdh deleted the rav/clean_up_pusher_start branch December 18, 2019 14:29
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit 'd6752ce5d':
  Clean up startup for the pusher (#6558)
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