Show More
@@ -521,9 +521,11 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 | if log: | |||
524 | log.error("Exception while loading config file %s", |
|
525 | log.error("Exception while loading config file %s", | |
525 |
|
|
526 | filename, exc_info=True) | |
526 | else: |
|
527 | else: | |
|
528 | if log: | |||
527 | log.debug("Loaded config file: %s", loader.full_filename) |
|
529 | log.debug("Loaded config file: %s", loader.full_filename) | |
528 | if config: |
|
530 | if config: | |
529 | yield config |
|
531 | yield config |
General Comments 0
You need to be logged in to leave comments.
Login now