Modify log level with empty sourcecode

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ia5b3e82b65143b2e684ef198f85eed3620abd670
This commit is contained in:
lijiamin2019 2023-09-05 16:33:08 +08:00 committed by xwx1135370
parent 44a155c4b9
commit 8203e73e5a

View File

@ -87,7 +87,7 @@ bool DebuggerImpl::NotifyScriptParsed(ScriptId scriptId, const std::string &file
const std::string &source = extractor->GetSourceCode(mainMethodIndex);
const std::string &url = extractor->GetSourceFile(mainMethodIndex);
if (source.empty()) {
LOG_DEBUGGER(ERROR) << "NotifyScriptParsed: invalid file: " << fileName;
LOG_DEBUGGER(WARN) << "NotifyScriptParsed: invalid debugger file: " << fileName;
return false;
}