Skip to content

Commit

Permalink
Added TypeError to exception list
Browse files Browse the repository at this point in the history
  • Loading branch information
Furr committed Jul 12, 2018
1 parent 825922a commit 404d8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongoengine/base/datastructures.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _mark_as_changed(self, key=None):
)
else:
self._instance._mark_as_changed(self._name)
except ReferenceError:
except (ReferenceError, TypeError):
pass


Expand Down

0 comments on commit 404d8c1

Please sign in to comment.