Skip to content

Commit

Permalink
print logger sumary earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
r-trimbour authored Nov 27, 2024
1 parent 0273569 commit ab8453e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions circe/circe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,8 +1033,6 @@ def emit(self, record):
except Exception as e:
logger.warning("Exception occurred: %s", e)

full_results = sp.sparse.block_diag(chr_results)

# Display collected log messages at the end of the script
if verbose:
print("Captured Warning Messages:")
Expand All @@ -1047,6 +1045,7 @@ def emit(self, record):
It's usually expected, but you can display them with verbose=True
""".format(len(log_messages)))

full_results = sp.sparse.block_diag(chr_results)
return full_results


Expand Down

0 comments on commit ab8453e

Please sign in to comment.