Skip to content

Commit 39f0ce5

Browse files
committed
Fix warnings in readSocketJson
1 parent 626a318 commit 39f0ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/socketjson.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export async function readSocketJson(
100100
debugLog(e)
101101

102102
if (defaultOnError) {
103-
logger.warn('Warning: failed to parse file, using default')
103+
logger.warn('Warning: failed to read file, using default')
104104
return { ok: true, data: getDefaultSocketJson() }
105105
}
106106
const msg = (e as { message: string })?.message || '(none)'
@@ -120,7 +120,7 @@ export async function readSocketJson(
120120
debugLog(json)
121121

122122
if (defaultOnError) {
123-
logger.warn('Warning: failed to read file, using default')
123+
logger.warn('Warning: failed to parse file, using default')
124124
return { ok: true, data: getDefaultSocketJson() }
125125
}
126126

0 commit comments

Comments
 (0)