Skip to content

Commit 9a434ab

Browse files
committed
chore: improve error message
1 parent 1af369c commit 9a434ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ If you are using MacOS, press <kbd>Command + Q</kbd> first, then restart VSCode.
189189

190190
There are [guide](https://github.com/subframe7536/vscode-custom-ui-style/issues/1#issuecomment-2423660217) and [video](https://github.com/subframe7536/vscode-custom-ui-style/issues/2#issuecomment-2432225106) (MacOS) of the process.
191191

192-
### EROFS
192+
### EROFS: read-only file system
193193

194194
This extension need to modify VSCode's source code but VSCode runs on read-only filesystem (snap, AppImage...). Maybe you need to choose another way to install VSCode.
195195

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export async function runAndRestart(message: string, fullRestart: boolean, actio
107107

108108
export function logError(message: string, error?: unknown) {
109109
if (error instanceof Error) {
110-
const msg = `${message}, ${error.message}`
110+
const msg = `${message}, ${error}`
111111
log.error(msg)
112112
showMessage(msg)
113113
} else if (error) {

0 commit comments

Comments
 (0)