Traceback (most recent call last):
File "/procedure/prozorro_sale/procedure/errors.py", line 81, in request_errors_middleware
return await handler(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/auth/__init__.py", line 26, in token_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/utils.py", line 153, in accept_language_middleware
return await handler(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/auth/__init__.py", line 36, in request_type_middleware
return await handler(request)
File "/usr/local/lib/python3.8/site-packages/prozorro_sale/auth/__init__.py", line 42, in request_context_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/errors.py", line 116, in retry_on_concurrency_error_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/errors.py", line 100, in handler
return await func(request, *args, **kwargs)
File "/procedure/prozorro_sale/procedure/utils.py", line 127, in request_unpack_params
return await handler(request, **request.match_info)
File "/procedure/prozorro_sale/procedure/utils.py", line 63, in handler
return await func(request, *args, **kwargs)
File "/procedure/prozorro_sale/procedure/api.py", line 158, in update_award
procedure.update_award(award_id, data, request._context)
File "/procedure/prozorro_sale/procedure/renewables/awards.py", line 202, in update_award
self.award(award_id).update_award(data, role)
File "/procedure/prozorro_sale/procedure/renewables/awards.py", line 179, in __getattr__
return getattr(self._get_current_state(), item)
File "/procedure/prozorro_sale/procedure/renewables/awards.py", line 175, in _get_current_state
return AWARD_STATUS_MAPPING[self.award.status](self.procedure, self.award)
KeyError: 'cancelled'
[2020-02-05T14:12:54 +0000] | aiohttp.access | INFO - "192.168.31.113 PATCH /api/procedures/5e3acc9400479c83f9de01c8/awards/3348e62a9ed44682ac81cfcb2685d02c?acc_token=%23censored%23 HTTP/1.1 500 231 - - 0.003834"```