Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #263 from TileThePlane/master
Browse files Browse the repository at this point in the history
Change "ERROR env {name} not found" to something more informative.
  • Loading branch information
orsinium committed Oct 9, 2019
2 parents ad4d69c + a00bb68 commit d87c1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dephell/config/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def attach_file(self, path: str, env: str, silent: bool = False) -> Optional[dic

# get env
if env not in data:
raise KeyError('env `{}` not found'.format(env))
raise KeyError('env `{}` not found in config'.format(env))
data = data[env]

self.attach(data)
Expand Down

0 comments on commit d87c1a2

Please sign in to comment.