def serialize(self, queryset):
        try:
            return self.serializer(levels=self.levels, fields=self.fields, exclude=self.exclude).serialize(queryset)
        except __HOLE__, e:
            logging.warn("API Error: %s" % e)
            if settings.debug:
                return "API Error: %s" % e
            else:
                return ''
dataset/ETHPy150Open letolab/airy/airy/contrib/api/handlers.py/APIHandler.serialize