Skip to content

Commit

Permalink
more configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
0dm committed May 29, 2023
1 parent b534bc4 commit 400370c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion openadapt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ def configure_logging(logger, log_level):


def good_filter(data):
return not data["message"].endswith("Cannot pickle Objective-C objects')")
messages_to_ignore = [
"Cannot pickle Objective-C objects')",
]

return not any(data["message"].endswith(msg) for msg in messages_to_ignore)



def row2dict(row, follow=True):
Expand Down

0 comments on commit 400370c

Please sign in to comment.