Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <[email protected]>
  • Loading branch information
andrewwhitehead committed Feb 8, 2022
1 parent ea52011 commit bf9563c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ async def send_credential_ack(
if cred_ex_record.auto_remove:
await cred_ex_record.delete_record(session) # all done: delete

except StorageError as err:
except StorageError:
LOGGER.exception(
"Error updating credential exchange"
) # holder still owes an ack: carry on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ async def save_error_state(
log_params=log_params,
log_override=log_override,
)
except StorageError as err:
except StorageError:
LOGGER.exception("Error saving credential exchange error state")

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ async def send_cred_ack(
if cred_ex_record.auto_remove:
await self.delete_cred_ex_record(cred_ex_record.cred_ex_id)

except StorageError as err:
except StorageError:
LOGGER.exception(
"Error sending credential ack"
) # holder still owes an ack: carry on
Expand Down

0 comments on commit bf9563c

Please sign in to comment.