Skip to content

Commit

Permalink
Mark ExtrinsicFailed as error (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored May 22, 2019
1 parent 7271144 commit c77c0e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/ui-app/src/Status/Queue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,13 @@ export default class Queue extends React.Component<Props, State> {
return;
}

const status = section === 'system' && method === 'ExtrinsicFailed'
? 'error'
: 'event';

this.queueAction({
action: `${section}.${method}`,
status: 'event',
status,
message: 'extrinsic event'
});
});
Expand Down

0 comments on commit c77c0e6

Please sign in to comment.