Skip to content

Commit

Permalink
Logging not working. Try print
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Oct 27, 2023
1 parent f392dd1 commit aa6acda
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions cerulean_cloud/cloud_run_orchestrator/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,13 @@ async def _orchestrate(
features=flatten_feature_list(offset_tiles_inference)
)
except AttributeError as e:
logging.debug(f"YYY error details: {e}")
logging.debug(f"YYY base_tiles_inference: {base_tiles_inference}")
logging.debug(
f"YYY offset_tiles_inference: {offset_tiles_inference}"
)
logging.debug(
print(f"YYY error details: {e}")
print(f"YYY base_tiles_inference: {base_tiles_inference}")
print(f"YYY offset_tiles_inference: {offset_tiles_inference}")
print(
f"YYY [r for r in base_tiles_inference]: {[r for r in base_tiles_inference]}"
)
logging.debug(
print(
f"YYY [r for r in offset_tiles_inference]: {[r for r in offset_tiles_inference]}"
)
raise e
Expand Down

0 comments on commit aa6acda

Please sign in to comment.