Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-793

[core] ExceptionMiddleware should not silently catch some exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: core.api
    • Labels:
      None

      Description

      For example c.post will never raise an exception (only ajax calls seem to have a flag returned).

      from django.test.client import Client
      c = Client()
      response = c.post('/login/', {'username': 'john', 'password': 'smith'})
      

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: