mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Improve error message if the command is not decodable
This commit is contained in:
parent
7e44b6b0c5
commit
398356baaa
2 changed files with 5 additions and 1 deletions
|
@ -275,6 +275,7 @@ run_command(wchar_t *command, PyCompilerFlags *cf)
|
|||
return ret != 0;
|
||||
|
||||
error:
|
||||
PySys_WriteStderr("Unable to decode the command from the command line:\n");
|
||||
PyErr_Print();
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue