Commit 7b21a960 authored by Łukasz Nowak's avatar Łukasz Nowak

Survive in case of no product_config support.

parent a50f2860
...@@ -34,6 +34,7 @@ except ImportError: ...@@ -34,6 +34,7 @@ except ImportError:
LOG('DeadlockDebugger', ERROR, "Incorrectly installed threadframe module") LOG('DeadlockDebugger', ERROR, "Incorrectly installed threadframe module")
else: else:
config = getConfiguration() config = getConfiguration()
if getattr(config, 'product_config', None) is not None:
deadlockdebugger = config.product_config.get('deadlockdebugger') deadlockdebugger = config.product_config.get('deadlockdebugger')
dump_url = '' dump_url = ''
secret = '' secret = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment