Cmd failures should be displayed as errors too
Summary: Styles are applied depending on entry type. This was an issue when we had 'cmd' as a type too. So, let's simplify and keep type to denote info, warning, or errors. Later on we can add a different tag if we want to differentiate between logs, command, others. Reviewed By: passy Differential Revision: D47912857 fbshipit-source-id: 213a0768a95f63cbd692ba96f6745ab740346a58
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f301de64f3
commit
143fe0e719
@@ -42,7 +42,7 @@ class Recorder {
|
||||
|
||||
const entry: CommandRecordEntry = {
|
||||
time: new Date(),
|
||||
type: 'cmd',
|
||||
type: payload.success ? 'info' : 'error',
|
||||
device,
|
||||
app,
|
||||
message: payload.cmd,
|
||||
|
||||
Reference in New Issue
Block a user