Skip to content

Commit

Permalink
Merge branch 'tickets/DM-45722-hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Aug 29, 2024
2 parents c68239a + 43d65ed commit b007c62
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/lsst/pipe/base/all_dimensions_quantum_graph_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,14 +532,14 @@ def log_failure(self, log: LsstLogAdapter) -> None:
# put these args in an easier-to-reconstruct equivalent form
# so they can read it more easily and copy and paste into
# a Python terminal.
buffer.write(f" dimensions={list(self.query_args['dimensions'].names)},")
buffer.write(f" dataId={dict(self.query_args['dataId'].required)},")
buffer.write(f" dimensions={list(self.query_args['dimensions'].names)},\n")
buffer.write(f" dataId={dict(self.query_args['dataId'].required)},\n")
if self.query_args["where"]:
buffer.write(f" where={repr(self.query_args['where'])},")
buffer.write(f" where={repr(self.query_args['where'])},\n")
if "datasets" in self.query_args:
buffer.write(f" datasets={list(self.query_args['datasets'])},")
buffer.write(f" datasets={list(self.query_args['datasets'])},\n")
if "collections" in self.query_args:
buffer.write(f" collections={list(self.query_args['collections'])},")
buffer.write(f" collections={list(self.query_args['collections'])},\n")
finally:
# If an exception was raised, write a partial.
log.error(buffer.getvalue())
Expand Down

0 comments on commit b007c62

Please sign in to comment.