mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-27 09:40:40 +00:00
Modify log level with empty sourcecode
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com> Change-Id: Ia5b3e82b65143b2e684ef198f85eed3620abd670
This commit is contained in:
parent
44a155c4b9
commit
8203e73e5a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user