diff --git a/src/controllers/main/main.ts b/src/controllers/main/main.ts index f189dfa9e..adbfddf57 100644 --- a/src/controllers/main/main.ts +++ b/src/controllers/main/main.ts @@ -403,13 +403,13 @@ export class MainController extends EventEmitter { this.settings.providers[network], this.settings.networks.find((net) => net.id === network)! ) - } catch { + } catch (e) { this.emitError({ level: 'major', - message: `Failed to fetch gas price for ${ + message: `Unable to get gas price for ${ this.settings.networks.find((n) => n.id === network)?.name }`, - error: new Error('Failed to fetch gas price') + error: new Error('Failed to fetch gas price: '+e.message) }) } })