Skip to content

Commit af8e6e8

Browse files
authored
improve exception message (fsspec#442)
1 parent 18f0b0b commit af8e6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adlfs/spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,7 @@ async def _async_upload_chunk(self, final: bool = False, **kwargs):
20642064
block_list=block_list, metadata=self.metadata
20652065
)
20662066
else:
2067-
raise RuntimeError(f"Failed to upload block{e}!") from e
2067+
raise RuntimeError(f"Failed to upload block: {e}!") from e
20682068
elif self.mode == "ab":
20692069
async with self.container_client.get_blob_client(blob=self.blob) as bc:
20702070
await bc.upload_blob(

0 commit comments

Comments
 (0)