Skip to content

Commit f3a50f4

Browse files
committed
add: log when settings applied successfully
1 parent 0c29e6e commit f3a50f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/src/addon_manager/models/addon.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,12 @@ export class Addon {
170170
uri: folder.uri,
171171
},
172172
]);
173-
if (configValues.settings)
173+
if (configValues.settings) {
174174
await applyAddonSettings(folder, configValues.settings);
175+
localLogger.info(`Applied addon settings for ${this.name}`);
176+
}
175177
} catch (e) {
176-
localLogger.warn(`Failed to apply settings of "${this.name}"`);
178+
localLogger.warn(`Failed to apply settings of "${this.name}" due to ${e}`);
177179
return;
178180
}
179181

0 commit comments

Comments
 (0)