Skip to content

Commit

Permalink
correct unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsz-rb committed Apr 16, 2024
1 parent eda09e5 commit d79b19b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rollbar/lib/transforms/shortener.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def _shorten(self, val):

if isinstance(val, sequence_types):
val = self._shorten_sequence(val, max_size)
if isinstance(val, string_types):
return val
return self.traverse_obj(val)

if isinstance(val, number_types):
Expand Down

0 comments on commit d79b19b

Please sign in to comment.