Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kotal committed Jan 22, 2018
1 parent 3c629e9 commit f339c41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/sync/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ def check(self, ignore_errors):
format(cmd, self.outputs[cmd]))

if self.name in ignore_errors:
self.logger.debug("errors of project {} ignored".
format(self.name))
return

if any(rv != 0 for rv in self.retcodes.values()):
self.logger.error("processing of selfect {} failed".
self.logger.error("processing of {} failed".
format(self))
indent = " "
self.logger.error("{}failed commands:".format(indent))
Expand Down

0 comments on commit f339c41

Please sign in to comment.