Skip to content

Commit

Permalink
Changed dropped dictionary from empty to {'...': '...'}.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmorell committed Oct 28, 2024
1 parent d0c6de6 commit 5fe14fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollbar/lib/transforms/shortener.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _should_drop(self, val, key) -> bool:
def default(self, o, key=None):
if self._should_drop(o, key):
if isinstance(o, (dict, Mapping)):
return dict()
return {'...': '...'}
if isinstance(o, sequence_types):
return ['...']

Expand Down

0 comments on commit 5fe14fc

Please sign in to comment.