Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11580

Distinguish possible exceptions when trying to bind server (ServerUnreachable, ...)

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      780

      Description

      See def bind_server(values, dialog) in authentication.py:

      ...
      except Unauthorized:
          dialog.show_message("Invalid credentials.")
          return False
      except:
          msg = "Unable to connect to " + url
          log.debug(msg, exc_info=True)
          # TODO: catch a new ServerUnreachable catching network isssues
          dialog.show_message(msg)
          return False
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h