X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=plomtask%2Fexceptions.py;h=2e479d9cb144f8e25aafccdc09a75e20d75de6f3;hb=be5fe79322159cee339baa7919e38774298ebd95;hp=379ae9feb751b99eb45e083d992f5509b6059a43;hpb=8ae8877e3e2588db76285e7e3ddfb8c7b9948a96;p=plomtask diff --git a/plomtask/exceptions.py b/plomtask/exceptions.py index 379ae9f..2e479d9 100644 --- a/plomtask/exceptions.py +++ b/plomtask/exceptions.py @@ -6,12 +6,12 @@ to merit its own module at this point. class HandledException(Exception): """To identify Exceptions based on expected (if faulty) user behavior.""" - http_code = 400 + http_code = 500 class BadFormatException(HandledException): """To identify Exceptions on malformed inputs.""" - http_code = 401 + http_code = 400 class NotFoundException(HandledException):