diff --git a/desktop/flipper-common/src/server-types.tsx b/desktop/flipper-common/src/server-types.tsx index 31095ca4e..1b4035f17 100644 --- a/desktop/flipper-common/src/server-types.tsx +++ b/desktop/flipper-common/src/server-types.tsx @@ -78,7 +78,7 @@ export type DeviceLogLevel = export type ConnectionRecordEntry = { time: Date; - type: 'cmd' | 'info' | 'error'; + type: 'warning' | 'info' | 'error'; device: string; app: string; message: string; diff --git a/desktop/flipper-server-core/src/recorder.tsx b/desktop/flipper-server-core/src/recorder.tsx index 1b7e41f0d..a9915622d 100644 --- a/desktop/flipper-server-core/src/recorder.tsx +++ b/desktop/flipper-server-core/src/recorder.tsx @@ -42,7 +42,7 @@ class Recorder { const entry: CommandRecordEntry = { time: new Date(), - type: 'cmd', + type: payload.success ? 'info' : 'error', device, app, message: payload.cmd,