check for available logger before logging a serializer error
Merge branch 'fix/serializers-check-logger'