Skip to content

Commit

Permalink
fixed offset for parsing new monolith messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Henjuro committed Nov 23, 2020
1 parent 85c6693 commit b76d899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waitlist/utility/swagger/eve/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_monolith_error(self):
if ', details: {' in self.__error:
monolith_error = {}
monolith_error['error_label'] = self.__error.split(',', 1)[0]
monolith_error['error_dict'] = ast.literal_eval(self.__error[self.__error.index(', details: {')+12:])
monolith_error['error_dict'] = ast.literal_eval(self.__error[self.__error.index(', details: {')+11:])
return monolith_error
'''
If none of these work, return this fallback
Expand Down

0 comments on commit b76d899

Please sign in to comment.