Skip to content

Commit

Permalink
fix: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dvilelaf committed Feb 2, 2024
1 parent bcaaf04 commit 90960f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/valory/skills/ceramic_write_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _update_stream(self, stream_id, new_data, did_str, did_seed):

if response.status_code != HTTP_OK:
self.context.logger.error(
f"API error while updating the stream: {response.status_code}: {response.body}"
f"API error while updating the stream: {response.status_code}: {response.body}\ndata={new_data}"
)
return False, stream_id

Expand Down Expand Up @@ -295,7 +295,7 @@ def _create_stream(self, new_data, did_str, did_seed, extra_metadata=None):

if response.status_code != HTTP_OK:
self.context.logger.error(
f"API error while updating the stream: {response.status_code}: {response.body}"
f"API error while updating the stream: {response.status_code}: {response.body}\ndata={new_data}"
)
return False, None

Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/dynamic_nft_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def update_ceramic_db(
"pending_write": pending_write,
}

self.context.logger.info(f"Token data updated: {data}")
self.context.logger.info("Token data updated")

return data

Expand Down

0 comments on commit 90960f0

Please sign in to comment.