File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,7 @@ const defaultResources = {
25
25
}
26
26
27
27
28
- export async function loadCustomStrings ( customStringsArg ?: string ) : Promise < void > {
29
- if ( ! customStringsArg ) {
30
- return
31
- }
28
+ export async function loadCustomStrings ( customStringsArg : string ) : Promise < void > {
32
29
33
30
try {
34
31
let customStringsData : Record < string , any >
Original file line number Diff line number Diff line change @@ -125,13 +125,8 @@ export const runCodeServer = async (
125
125
126
126
// Load custom strings if provided
127
127
if ( args [ "custom-strings" ] ) {
128
- try {
129
- await loadCustomStrings ( args [ "custom-strings" ] )
130
- logger . info ( "Loaded custom strings" )
131
- } catch ( error ) {
132
- logger . error ( "Failed to load custom strings" , field ( "error" , error ) )
133
- throw error
134
- }
128
+ await loadCustomStrings ( args [ "custom-strings" ] )
129
+ logger . info ( "Loaded custom strings" )
135
130
}
136
131
137
132
logger . info ( `Using user-data-dir ${ args [ "user-data-dir" ] } ` )
You can’t perform that action at this time.
0 commit comments