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:
parent
76471f3677
commit
ab5de621c3
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user