Show More
@@ -369,7 +369,11 b' class Application(SingletonConfigurable):' | |||||
369 | loader = PyFileConfigLoader(filename, path=path) |
|
369 | loader = PyFileConfigLoader(filename, path=path) | |
370 | try: |
|
370 | try: | |
371 | config = loader.load_config() |
|
371 | config = loader.load_config() | |
|
372 | except IOError: | |||
|
373 | # problem with the file (probably doesn't exist), raise | |||
|
374 | raise | |||
372 | except Exception: |
|
375 | except Exception: | |
|
376 | # problem while running the file | |||
373 | self.log.error("Exception while loading config file %s [path=%s]"% |
|
377 | self.log.error("Exception while loading config file %s [path=%s]"% | |
374 | (filename, path), exc_info=True) |
|
378 | (filename, path), exc_info=True) | |
375 | else: |
|
379 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now