Просмотр исходного кода

Must use dumped format when return exception response

Bastien Sevajol 5 лет назад
Родитель
Сommit
bd8366f60a
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1 1
      hapic/decorator.py

+ 1 - 1
hapic/decorator.py Просмотреть файл

@@ -437,7 +437,7 @@ class ExceptionHandlerControllerWrapper(ControllerWrapper):
437 437
                 )
438 438
 
439 439
             error_response = self.context.get_response(
440
-                json.dumps(response_content),
440
+                json.dumps(dumped),
441 441
                 self.http_code,
442 442
             )
443 443
             return error_response