Do not swallow ENS not supported errors (#2387).
This commit is contained in:
parent
d3d2953e8d
commit
2f57c6a4ab
@ -1642,7 +1642,7 @@ export class BaseProvider extends Provider implements EnsProvider {
|
|||||||
return new Resolver(this, address, name);
|
return new Resolver(this, address, name);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.code === Logger.errors.CALL_EXCEPTION) { return null; }
|
if (error.code === Logger.errors.CALL_EXCEPTION) { return null; }
|
||||||
return null;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user