Fixed invalid mix listing with dodgy image URL

This commit is contained in:
fergalmoran
2012-10-30 10:03:25 +00:00
parent 0069bd500a
commit 9e0516d9e4

View File

@@ -89,6 +89,8 @@ class Mix(_BaseModel):
social_image = self._get_social_image()
if social_image:
return social_image
except Exception:
self.logger.error("Error getting thumbmail")
return super(Mix, self).get_image_url(self.mix_image, settings.STATIC_URL + 'img/default-track.png')