Anonymous committed 3c08c40

Catch failed discovery of builtin providers.

  • Participants
  • Parent commits 5c416ae

Comments (0)

Files changed (1)

File extensions/

         # results. However, the risk of login breaking if a provider does change
         # its service URL outweighs the cost of another HTTP request to perform
         # the discovery during login.
-        services, op_endpoint, op_local =
+        result =
+        if result is None:
+            self.client.error_message.append('Provider %s appears to be down' % providers[provider][0])
+        services, op_endpoint, op_local = result
         session = self.get_session(op_endpoint, services)
             session = self.get_session(op_endpoint, services)