joystream
joystream copied to clipboard
[Colossus] Trying to hash `File not found` response
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
{"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