mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Log SMTP failures and retry after some error codes
This commit is contained in:
@@ -258,11 +258,13 @@ class CheckinListPositionViewSet(viewsets.ReadOnlyModelViewSet):
|
||||
except CheckInError as e:
|
||||
return Response({
|
||||
'status': 'error',
|
||||
'reason': e.code
|
||||
'reason': e.code,
|
||||
'data': OrderPositionSerializer(op).data
|
||||
}, status=400)
|
||||
else:
|
||||
return Response({
|
||||
'status': 'ok',
|
||||
'data': OrderPositionSerializer(op).data
|
||||
}, status=201)
|
||||
|
||||
def get_object(self):
|
||||
|
||||
Reference in New Issue
Block a user