Created
May 10, 2018 12:37
-
-
Save eliihen/92a91c989c62b7d8d21e44eae917b890 to your computer and use it in GitHub Desktop.
Revisions
-
esphen created this gist
May 10, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ const originalConsoleError = console.error; console.error = message => { if (/(Failed prop type)/.test(message)) { throw new Error(message); } originalConsoleError(message); };