Skip to content

Commit

Permalink
Tweaks exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Jul 30, 2015
1 parent 6a5832e commit 9177380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,8 @@ def parse_env_file(env_file):
environment[k] = v
else:
raise errors.DockerException(
'Invalid env_file line:\n{0}'.format(line))
'Invalid line in environment file {0}:\n{1}'.format(
env_file, line))

return environment

Expand Down

0 comments on commit 9177380

Please sign in to comment.