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

Must use dumped format when return exception response

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

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

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