diff --git a/src/Extension.hx b/src/Extension.hx index 8c6a8d8..89f256d 100644 --- a/src/Extension.hx +++ b/src/Extension.hx @@ -17,7 +17,7 @@ class Extension { var hlVersion:String = js.node.ChildProcess.execSync('$hl --version'); if(hlVersion <= "1.11.0") { final visitButton = "Get from GitHub"; - Vscode.window.showErrorMessage('Your version of Hashlink (${hlVersion}) does not support debugging on Mac. Install a newer version from here:', visitButton).then(function(choice) { + Vscode.window.showErrorMessage('Your version of Hashlink (${hlVersion}) does not support debugging on Mac. Install a newer version from here:', null, visitButton).then(function(choice) { if (choice == visitButton) { Vscode.env.openExternal(Uri.parse("https://github.com/HaxeFoundation/hashlink")); } diff --git a/src/HLAdapter.hx b/src/HLAdapter.hx index ad75bd2..78ecaaf 100644 --- a/src/HLAdapter.hx +++ b/src/HLAdapter.hx @@ -266,7 +266,7 @@ class HLAdapter extends DebugSession { if( err.message == "spawn hl ENOENT" ) error(cast response, "Could not start 'hl' process, executable was not found in PATH.\nRestart VSCode or computer."); else - error(cast response, 'Failed to start hl process ($err)'); + error(cast response, 'Failed to start hl process (${err.message})'); }); }