Please sign in to comment.
do not update IAM session token with error responses
When the connect to sts.amazonaws.com fails, the session token in the dinerl_data ETS table would be overwritten with the AWS error response. This fails all subsequest requests and, worse, also prevents dinerl:update_data/4 to ever succeed again (badmatch on line 253).
- Loading branch information...