Handle crashes before config is loaded correctly
This commit is contained in:
parent
695ab70d7c
commit
1c5686f5e3
@ -104,8 +104,11 @@ class CrashDialog(QDialog):
|
||||
('Open Pages', '\n'.join(pages)),
|
||||
('Command history', '\n'.join(cmdhist)),
|
||||
('Commandline args', ' '.join(sys.argv[1:])),
|
||||
('Config', config.instance.dump_userconfig()),
|
||||
]
|
||||
try:
|
||||
outputs.append(('Config', config.instance.dump_userconfig()))
|
||||
except AttributeError:
|
||||
pass
|
||||
chunks = []
|
||||
for (header, body) in outputs:
|
||||
if body is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user