Skip to content

Commit

Permalink
Respect omit_loglevel, fixes #4568
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jun 11, 2024
1 parent 5fd6a16 commit 4f03250
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fbwebapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def receive_result(self, checkresult):
if type(log["message"]["message"]).__name__ == "FailedConditionError":
log["message"]["message"] = str(log["message"]["message"])
data = json.loads(json.dumps(data))
self.callback(data)
if not self.omit_loglevel(checkresult.summary_status.name):
self.callback(data)


def run_fontbakery(
Expand Down

0 comments on commit 4f03250

Please sign in to comment.