bitcoin-core / gui-qml

Bitcoin GUI (experimental QML-based fork)
MIT License
106 stars 40 forks source link

QML source code error displayed on terminal if run app with invalid args #361

Closed pablomartin4btc closed 5 months ago

pablomartin4btc commented 10 months ago

Is there an existing issue for this?

Current behaviour

Invalid arguments passed to QML bitcoin-qt app produces another error in source code which is shown on terminal and could confuse users.

image

Expected behaviour

QSettings shouldn't fail and QML source code details shouldn't be displayed on terminal.

Steps to reproduce

Run QML bitcoin-qt with an invalid argument (e.g. src/qt/bitcoin-qt -x)

Relevant log output

No response

How did you obtain Bitcoin Core

Compiled from source

What version of Bitcoin Core are you using?

v25.99

Operating system and version

Ubuntu 20.04 & 22.04

Machine specifications

No response