summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Egesdahl <ryan.egesdahl@mongodb.com>2021-07-06 15:02:56 -0700
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-20 18:49:16 +0000
commitd55942f988e3f1c30ae394b4f7708daccfc2b133 (patch)
tree074df6f1b58d793ae58516a2dee49bfcd878656c
parentc4c27ea01f11567f5ec06dff8686f4e844ef16e5 (diff)
downloadmongo-d55942f988e3f1c30ae394b4f7708daccfc2b133.tar.gz
SERVER-57798 Direct user to manually install on Compass download failure
We really don't need the user to tell us something has failed in a way we generally expected might happen from time to time. It's much more helpful from the user's perspective to know how to install Compass manually when the installer script fails, so we'll direct them to the appropriate documentation from now on. (cherry picked from commit 10c13a0b1c54489fdbf5b029356caf445e6674e4) (cherry picked from commit 9f88f92a2d8aa1a6bff8180e9ae735d437ecd00b) (cherry picked from commit a01bd3475af76d65f1b2aadff970120774d7f2ab) (cherry picked from commit 83bc43d9656e4e298b0da87e65a955a1cb4ec37c)
-rwxr-xr-xsrc/mongo/installer/compass/install_compass6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/installer/compass/install_compass b/src/mongo/installer/compass/install_compass
index 04c081737f6..844d770fed2 100755
--- a/src/mongo/installer/compass/install_compass
+++ b/src/mongo/installer/compass/install_compass
@@ -375,7 +375,7 @@ def download_and_install_compass():
LOG.exception(error)
is_successful = False
except Exception as error: # pylint: disable=broad-except
- LOG.info('Unexpected error when downloading: %s', error.message)
+ LOG.error('Unexpected error when downloading: %s', error.message)
is_successful = False
else:
@@ -429,6 +429,6 @@ if __name__ == '__main__':
LOG.info('A log file for this installation can be found at %s', LOG_FILE_NAME)
if not SUCCESS:
- LOG.error('Please open a ticket with the log file attached on the SERVER ' \
- 'project at https://jira.mongodb.org/')
+ LOG.error('Please see our documentation for how to download and install ' \
+ 'Compass manually: https://docs.mongodb.com/compass/current/install/#download-and-install-compass')
sys.exit(1)