Skip to content

Conversation

@odesenfans
Copy link
Collaborator

Broadened the check of fields in new messages. We now check for
the presence of all the authorized fields, as parts of the code
expect them later anyway.

This fixes an issue detected on Sentry where the missing "time"
field on some messages triggered an exception.

@odesenfans odesenfans marked this pull request as ready for review May 15, 2022 21:28
@odesenfans odesenfans requested a review from hoh May 17, 2022 08:38
@odesenfans
Copy link
Collaborator Author

Superseded by #272, but we can imagine a situation where this could be merged and released earlier.

@odesenfans odesenfans added this to the May release milestone May 17, 2022
hoh
hoh previously approved these changes May 24, 2022
@hoh hoh dismissed their stale review May 24, 2022 09:14

Forgot to read further

@hoh hoh assigned odesenfans and unassigned hoh May 24, 2022
@odesenfans odesenfans force-pushed the od-check-presence-of-all-fields-in-messages branch from c303675 to 8d23037 Compare May 24, 2022 09:31
Broadened the check of fields in new messages. We now check for
the presence of all the authorized fields, as parts of the code
expect them later anyway.

This fixes an issue detected on Sentry where the missing "time"
field on some messages triggered an exception.
@odesenfans odesenfans force-pushed the od-check-presence-of-all-fields-in-messages branch from 8d23037 to 9fedf24 Compare May 24, 2022 09:42
@odesenfans odesenfans merged commit 22d9485 into aleph-im:dev May 24, 2022
@odesenfans odesenfans deleted the od-check-presence-of-all-fields-in-messages branch May 24, 2022 09:48
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