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 17:44:53 +0000
commita01bd3475af76d65f1b2aadff970120774d7f2ab (patch)
tree787d02b4be2d3c3a9b8291ab05eedcb69959c281
parent47b693a6aeaa142bffcea57984b8e84f60204407 (diff)
downloadmongo-a01bd3475af76d65f1b2aadff970120774d7f2ab.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)
-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)