mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Remove try...catch from ConfigHelper
This commit is contained in:
parent
255ed1ba44
commit
3a1abb2813
@ -148,7 +148,6 @@ export class ConfigHelper {
|
||||
|
||||
// load from custom addresses structure
|
||||
if (customAddresses) {
|
||||
try {
|
||||
const {
|
||||
FixedPrice,
|
||||
Dispenser,
|
||||
@ -172,10 +171,6 @@ export class ConfigHelper {
|
||||
startBlock: startBlock,
|
||||
...(process.env.AQUARIUS_URI && { metadataCacheUri: process.env.AQUARIUS_URI })
|
||||
}
|
||||
} catch (e) {
|
||||
// console.error(`ERROR: Could not load local contract address file: ${e.message}`)
|
||||
// return null
|
||||
}
|
||||
} else {
|
||||
// no custom addresses structure was passed, trying to load default
|
||||
if (DefaultContractsAddresses[network]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user