1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix error in throw statement

This commit is contained in:
Miquel A. Cabot 2022-07-14 13:43:35 +02:00
parent 76471f3677
commit ab5de621c3

View File

@ -173,7 +173,7 @@ export class Aquarius {
}
} catch (error) {
LoggerInstance.error('Error getting metadata: ', error)
throw new Error('Error getting metadata: ', error)
throw new Error('Error getting metadata: ' + error)
}
}
@ -203,7 +203,7 @@ export class Aquarius {
}
} catch (error) {
LoggerInstance.error('Error querying metadata: ', error)
throw new Error('Error querying metadata: ', error)
throw new Error('Error querying metadata: ' + error)
}
}
}