-
Notifications
You must be signed in to change notification settings - Fork 380
Closed as not planned
Labels
auto-closed[Bot] Closed, details in comments[Bot] Closed, details in commentsno-activity[Bot] Closing soon if no new activity[Bot] Closing soon if no new activity
Description
Originally from: Miserlou/Zappa#2198 by piotrdrazikowski
Description
The main SNS message handler incorrectly assumes that every message that was parsed using json.loads() without throwing an exception is of dict type, and then uses dict methods like .get() on the parsed object which eventually leads to a crash. In our case this has prevented us from sending a list of dicts, but there's more examples. This PR fixes it by handling the AttributeError exception
GitHub Issues
Metadata
Metadata
Assignees
Labels
auto-closed[Bot] Closed, details in comments[Bot] Closed, details in commentsno-activity[Bot] Closing soon if no new activity[Bot] Closing soon if no new activity