Unverified Commit 9bfba272 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

Include sourceframe in errors logged in the terminal during development (#71803)

parent ffde232b
...@@ -157,7 +157,7 @@ function parseAndSourceMap(error: Error): string { ...@@ -157,7 +157,7 @@ function parseAndSourceMap(error: Error): string {
if ( if (
process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'production' &&
sourcemappedFrame.code !== null && sourcemappedFrame.code !== null &&
sourceFrameDEV !== null sourceFrameDEV === null
) { ) {
sourceFrameDEV = sourcemappedFrame.code sourceFrameDEV = sourcemappedFrame.code
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment