Log the correct function on error in the embedder. (flutter/engine#8461)

This commit is contained in:
Chinmay Garde
2019-04-05 15:16:07 -07:00
committed by GitHub
parent 812955c39d
commit b330816fdd

View File

@@ -45,7 +45,7 @@ static FlutterEngineResult LogEmbedderError(FlutterEngineResult code,
const char* file,
int line) {
FML_LOG(ERROR) << "Returning error '" << name << "' (" << code
<< ") from Flutter Embedder API call to '" << __FUNCTION__
<< ") from Flutter Embedder API call to '" << function
<< "'. Origin: " << file << ":" << line;
return code;
}