mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 01:18:31 +02:00
[GH-632] adding call to action to report issue when upgrade fails
This commit is contained in:
parent
4ff867ee5e
commit
aa0332c2a7
1 changed files with 4 additions and 1 deletions
|
@ -90,7 +90,10 @@ def load_or_install_jrnl():
|
||||||
try:
|
try:
|
||||||
upgrade.upgrade_jrnl_if_necessary(config_path)
|
upgrade.upgrade_jrnl_if_necessary(config_path)
|
||||||
except upgrade.UpgradeValidationException:
|
except upgrade.UpgradeValidationException:
|
||||||
util.prompt("Aborting upgrade. Exiting.")
|
util.prompt("Aborting upgrade.")
|
||||||
|
util.prompt("Please tell us about this problem at the following URL:")
|
||||||
|
util.prompt("https://github.com/jrnl-org/jrnl/issues/new?title=UpgradeValidationException")
|
||||||
|
util.prompt("Exiting.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
upgrade_config(config)
|
upgrade_config(config)
|
||||||
|
|
Loading…
Add table
Reference in a new issue