Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Dec 3, 2024
1 parent 3531482 commit 17875b0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion brewtils/schema_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,13 @@ def parse(
if strict:
raise err
cls.logger.error(err.messages)
return err.valid_data
try:
cls.logger.error("LOAD")
return schema.load(err.valid_data)
except:
cls.logger.error("LOADS")
return schema.loads(err.valid_data)


# Serialization methods
@classmethod
Expand Down

0 comments on commit 17875b0

Please sign in to comment.