Commit 6fc7900d authored by Michal Čihař's avatar Michal Čihař

Log error

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 4f38316a
......@@ -668,7 +668,7 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
self.repository.push(self.branch)
return True
except RepositoryException as error:
self.log_error('failed to push on repo')
self.log_error('failed to push on repo: %s', error)
msg = 'Error:\n%s' % str(error)
mail_admins(
'failed push on repo %s' % self.__unicode__(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment