Skip to content

node: add log message when boot is aborted#20665

Closed
holiman wants to merge 1 commit intoethereum:masterfrom
holiman:diagnose_20642
Closed

node: add log message when boot is aborted#20665
holiman wants to merge 1 commit intoethereum:masterfrom
holiman:diagnose_20642

Conversation

@holiman
Copy link
Copy Markdown
Contributor

@holiman holiman commented Feb 13, 2020

This PR adds a diagnostic log message to figure out why #20642 doesn't work.

[user@work go-ethereum]$ ./build/bin/geth --rpc --rpcapi foo,baz
...
ERROR[02-13|10:33:47.837] Failed to enumerate USB devices          hub=trezor vendor=4617  failcount=3 err="failed to initialize libusb: libusb: unknown error [code -99]"
ERROR[02-13|10:33:47.837] Failed to enumerate USB devices          hub=trezor vendor=21324 failcount=3 err="failed to initialize libusb: libusb: unknown error [code -99]"
ERROR[02-13|10:33:49.237] Aborting startup                         error="invalid API \"foo\" in whitelist (available: admin, debug, web3, eth, txpool, personal, ethash, miner, net)"

@holiman holiman requested a review from fjl February 13, 2020 10:33
@fjl
Copy link
Copy Markdown
Contributor

fjl commented Feb 17, 2020

Closing in favor of #20684

@fjl fjl closed this Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants