Skip to content

Commit 4042a49

Browse files
committed
chore: add diagnostics context for settings actions
1 parent 9d79e29 commit 4042a49

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/core/dispatch.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,15 @@ export async function dispatchCommand(
381381
}
382382
case 'settings': {
383383
const [setting, state, appBundleId] = positionals;
384+
emitDiagnostic({
385+
level: 'debug',
386+
phase: 'settings_apply',
387+
data: {
388+
setting,
389+
state,
390+
platform: device.platform,
391+
},
392+
});
384393
if (device.platform === 'ios') {
385394
await setIosSetting(device, setting, state, appBundleId ?? context?.appBundleId);
386395
return { setting, state };

0 commit comments

Comments
 (0)