1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

changed error messages

This commit is contained in:
Sebastian Gerske 2018-11-16 14:25:55 +01:00
parent 469088ec79
commit 0b55e108d7

View File

@ -98,7 +98,7 @@ export default class Aquarius {
if (response.ok) {
return response.json()
}
Logger.error("storeDDO failed:", response.status, response.statusText)
Logger.error("storeDDO failed:", response.status, response.statusText, ddo)
return null as DDO
})
.then((response: DDO) => {
@ -120,7 +120,7 @@ export default class Aquarius {
if (response.ok) {
return response.json()
}
Logger.log("retrieveDDO failed:", response.status, response.statusText)
Logger.log("retrieveDDO failed:", response.status, response.statusText, did)
return null as DDO
})
.then((response: DDO) => {