Skip to content

Commit

Permalink
Display errors on separate lines to improve readability (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Jan 31, 2020
1 parent 171b531 commit 67ecbc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html5validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ def validate(self, files):
e = [l for l in e if not regex.search(l)]

if e:
LOGGER.error(e)
for line in e:
LOGGER.error(line)
else:
LOGGER.info('All good.')
return len(e)

0 comments on commit 67ecbc0

Please sign in to comment.