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:
parent
469088ec79
commit
0b55e108d7
@ -98,7 +98,7 @@ export default class Aquarius {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
return response.json()
|
return response.json()
|
||||||
}
|
}
|
||||||
Logger.error("storeDDO failed:", response.status, response.statusText)
|
Logger.error("storeDDO failed:", response.status, response.statusText, ddo)
|
||||||
return null as DDO
|
return null as DDO
|
||||||
})
|
})
|
||||||
.then((response: DDO) => {
|
.then((response: DDO) => {
|
||||||
@ -120,7 +120,7 @@ export default class Aquarius {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
return response.json()
|
return response.json()
|
||||||
}
|
}
|
||||||
Logger.log("retrieveDDO failed:", response.status, response.statusText)
|
Logger.log("retrieveDDO failed:", response.status, response.statusText, did)
|
||||||
return null as DDO
|
return null as DDO
|
||||||
})
|
})
|
||||||
.then((response: DDO) => {
|
.then((response: DDO) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user