| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 681d2a7 commit 6df1132
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,7 +62,7 @@ static std::string GetErrorSource(Isolate* isolate, | |||
| 62 | 62 | Environment* env = Environment::GetCurrent(isolate); | |
| 63 | 63 | const bool has_source_map_url = | |
| 64 | 64 | !message->GetScriptOrigin().SourceMapUrl().IsEmpty(); | |
| 65 | - if (has_source_map_url && env->source_maps_enabled()) { | ||
| 65 | + if (has_source_map_url && env != nullptr && env->source_maps_enabled()) { | ||
| 66 | 66 | return sourceline; | |
| 67 | 67 | } | |
| 68 | 68 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments