mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 09:08:32 +02:00
[GH-632] adding call to action to report issue when upgrade fails
This commit is contained in:
parent
244165664b
commit
be35904912
1 changed files with 4 additions and 1 deletions
|
@ -90,7 +90,10 @@ def load_or_install_jrnl():
|
|||
try:
|
||||
upgrade.upgrade_jrnl_if_necessary(config_path)
|
||||
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)
|
||||
|
||||
upgrade_config(config)
|
||||
|
|
Loading…
Add table
Reference in a new issue