Skip to content

Commit

Permalink
improve exception message (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro authored Dec 22, 2023
1 parent 18f0b0b commit af8e6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adlfs/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ async def _async_upload_chunk(self, final: bool = False, **kwargs):
block_list=block_list, metadata=self.metadata
)
else:
raise RuntimeError(f"Failed to upload block{e}!") from e
raise RuntimeError(f"Failed to upload block: {e}!") from e
elif self.mode == "ab":
async with self.container_client.get_blob_client(blob=self.blob) as bc:
await bc.upload_blob(
Expand Down

0 comments on commit af8e6e8

Please sign in to comment.