Show More
@@ -521,10 +521,12 b' class Application(SingletonConfigurable):' | |||||
521 | # unlikely event that the error raised before filefind finished |
|
521 | # unlikely event that the error raised before filefind finished | |
522 | filename = loader.full_filename or filename |
|
522 | filename = loader.full_filename or filename | |
523 | # problem while running the file |
|
523 | # problem while running the file | |
524 | log.error("Exception while loading config file %s", |
|
524 | if log: | |
525 | filename, exc_info=True) |
|
525 | log.error("Exception while loading config file %s", | |
|
526 | filename, exc_info=True) | |||
526 | else: |
|
527 | else: | |
527 | log.debug("Loaded config file: %s", loader.full_filename) |
|
528 | if log: | |
|
529 | log.debug("Loaded config file: %s", loader.full_filename) | |||
528 | if config: |
|
530 | if config: | |
529 | yield config |
|
531 | yield config | |
530 |
|
532 |
General Comments 0
You need to be logged in to leave comments.
Login now