Fixed an issue with silent hanging when a custom debug server is not found // Resolve #3756

This commit is contained in:
Ivan Kravets
2021-03-19 15:55:42 +02:00
parent 9cca8f3f55
commit c14b298cb9
3 changed files with 12 additions and 10 deletions
+3 -4
View File
@@ -51,10 +51,9 @@ class DebugServerProcess(DebugBaseProcess):
server_executable = where_is_program(server_executable)
if not os.path.isfile(server_executable):
raise DebugInvalidOptionsError(
"\nCould not launch Debug Server '%s'. Please check that it "
"is installed and is included in a system PATH\n\n"
"See documentation:\n"
"https://docs.platformio.org/page/plus/debugging.html\n"
"Could not launch Debug Server '%s'. Please check that it "
"is installed and is included in a system PATH\n"
"See https://docs.platformio.org/page/plus/debugging.html"
% server_executable
)