Skip to content

Commit

Permalink
Fix string formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckbutkus committed Dec 28, 2024
1 parent 4b65fee commit 2d53738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/storage/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def list(self, path: str) -> list[str]:
f"Error: Access denied to bucket '{self.bucket}'."
)
else:
raise FileNotFoundError(f'Error: {e.response['Error']['Message']}')
raise FileNotFoundError(f"Error: {e.response['Error']['Message']}")
except Exception as e:
raise FileNotFoundError(
f"Error: Failed to read from bucket '{self.bucket}' at path {path}: {e}"
Expand Down

0 comments on commit 2d53738

Please sign in to comment.