Skip to content

Commit

Permalink
Fix the bug "Crash when a config file is missing"
Browse files Browse the repository at this point in the history
This bug is resulted from the wrong usage of logger configuration.
  • Loading branch information
dichn committed Oct 14, 2020
1 parent 23fc4d8 commit caddd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alt_src/alt_src.py
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ def wipe_git_dir(dirname):


def die(msg):
self.logger.error(msg)
logging.getLogger("altsrc").error(msg)
sys.exit(1)


Expand Down

0 comments on commit caddd28

Please sign in to comment.