diff --git a/HISTORY.rst b/HISTORY.rst index b75a6a3ef4..f5f1e1292e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -41,6 +41,8 @@ - Rename all instances of the IMAP server from mailbox to server for clarity. - Add book link in the about menu. +- Add unknown exception handling when checking for the latest + version. 3.2.8 (2019-10-01) ================== diff --git a/mayan/apps/dependencies/views.py b/mayan/apps/dependencies/views.py index e5d9951e7e..7e970be5be 100644 --- a/mayan/apps/dependencies/views.py +++ b/mayan/apps/dependencies/views.py @@ -28,6 +28,12 @@ class CheckVersionView(SimpleView): 'It is not possible to determine the latest version ' 'available.' ) + except Exception as exception: + message = _( + 'Unexpected error trying to determine the latest version ' + 'available. Make sure your installation has a connection to ' + 'the internet; %s' + ) % exception else: message = _('Your version is up-to-date.')