Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 040d227

Browse files
better error message
1 parent e3a31d2 commit 040d227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialmonitor/serialMonitor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class SerialMonitor implements vscode.Disposable {
163163
});
164164
this.updatePortStatus(true);
165165
} catch (err) {
166-
vscode.window.showErrorMessage("error opening serial port");
166+
vscode.window.showErrorMessage(`Error opening serial port: ${err.toString()}`);
167167
}
168168
}
169169

0 commit comments

Comments
 (0)