Use ErrorLog instead of InfoLog in InstanceBase::ConsumedError
Printing to stdout actually impacts Web Tests results which makes managing expectations difficult, especially if logs change. Change InfoLog to ErrorLog: 1) because this is ConsumedError, after all 2) until we figure out if we can make Web Tests ignore stdout Bug: chromium:1266550 Change-Id: I05f47f8b6d7a8e11568c5ee87eabab0cfd7c02d6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/76680 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
394c17a1bb
commit
d0530a6e03
|
@ -345,7 +345,7 @@ namespace dawn::native {
|
|||
std::unique_ptr<ErrorData> error = maybeError.AcquireError();
|
||||
|
||||
ASSERT(error != nullptr);
|
||||
dawn::InfoLog() << error->GetFormattedMessage();
|
||||
dawn::ErrorLog() << error->GetFormattedMessage();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue