diff --git a/qutebrowser/widgets/crash.py b/qutebrowser/widgets/crash.py index daa9fc446..9d31870d5 100644 --- a/qutebrowser/widgets/crash.py +++ b/qutebrowser/widgets/crash.py @@ -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: