We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34f77f commit faa65fcCopy full SHA for faa65fc
bpython/config.py
@@ -194,8 +194,10 @@ def loadini(struct, config_path):
194
except UnicodeDecodeError as e:
195
sys.stderr.write(
196
"Error: Unable to parse config file at '{}' due to an "
197
- "encoding issue. Please make sure to fix the encoding "
198
- "of the file or remove it and then try again.\n".format(config_path)
+ "encoding issue ({}). Please make sure to fix the encoding "
+ "of the file or remove it and then try again.\n".format(
199
+ config_path, e
200
+ )
201
)
202
sys.exit(1)
203
0 commit comments