Skip to content

Commit 5fe14fc

Browse files
committed
Changed dropped dictionary from empty to {'...': '...'}.
1 parent d0c6de6 commit 5fe14fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollbar/lib/transforms/shortener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _should_drop(self, val, key) -> bool:
186186
def default(self, o, key=None):
187187
if self._should_drop(o, key):
188188
if isinstance(o, (dict, Mapping)):
189-
return dict()
189+
return {'...': '...'}
190190
if isinstance(o, sequence_types):
191191
return ['...']
192192

0 commit comments

Comments
 (0)