Skip to content

Commit

Permalink
Rename error titles
Browse files Browse the repository at this point in the history
Summary:
Based on feedback we're updating these titles to be more clear for their source.

Changelog: [Internal]

Reviewed By: cpojer

Differential Revision: D21413486

fbshipit-source-id: c144e7f759a4ff263b7ec80fa643eeb8ffac741b
  • Loading branch information
rickhanlonii authored and facebook-github-bot committed May 6, 2020
1 parent 5066b66 commit 41f0d9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Libraries/LogBox/UI/LogBoxInspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ function LogBoxInspector(props: Props): React.Node {
}

const headerTitleMap = {
warn: 'Warning',
error: 'Error',
fatal: 'Exception',
warn: 'Console Warning',
error: 'Console Error',
fatal: 'Uncaught Error',
syntax: 'Syntax Error',
component: 'Component Exception',
component: 'Render Error',
};

function LogBoxInspectorBody(props) {
Expand Down

0 comments on commit 41f0d9b

Please sign in to comment.