1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-26 03:06:49 +02:00

Making error message more generic (#1368)

This commit is contained in:
Jamie Hewitt 2022-04-27 16:28:02 +02:00 committed by GitHub
parent 88d5179a29
commit 8271963292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ export default function Download({
LoggerInstance.error(error)
const message = isOwned
? 'Failed to download file!'
: 'Failed to buy datatoken from pool!'
: 'An error occurred. Check console for more information.'
toast.error(message)
}
setIsLoading(false)