Joystream / Joystream/joystream
[Colossus] Trying to hash `File not found` response
Open
bug
colossus
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
```
2024-01-16 09:04:13:413 warn: Sync - fetching data error for https://storage.ilich-tech.com/storage/api/v1/files/1454434: Error: Invalid file hash. Expected: gW5WDhmfyda3B7xJdzLwJTEPHENyJ8Q8Rc3otQ6XhMtRFL - real: gWA8ejdyVhcaiwBSc9AqtN8nQidkDJinZEFL498TQRxrR2
```
It looks like wrong file is returned when in reality the URL returns
```json
{"type":"files","message":"File not found."}
```
Colossus should handle that more gracefully and potentially only log that it couldn't get a given file from any of the providers, not spam all URLs with warnings
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.