Skip to content

Commit e296bc7

Browse files
authored
[CQ] migrate off deprecated LOG.error(object) call (#8498)
`LOG.error(string)` is preferred. <img width="2104" height="108" alt="image" src="https://github.com/user-attachments/assets/f610075d-fc57-4819-aefd-29cef3db21f7" /> --- <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide]([https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md](https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Dart contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Java and Kotlin contributions should strive to follow Java and Kotlin best practices ([discussion](#8098)). </details>
1 parent ba7b436 commit e296bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/io/flutter/vmService/VmServiceWrapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ private boolean isVmServiceMappingSupported(org.dartlang.vm.service.element.Vers
493493
if (WorkspaceCache.getInstance(myDebugProcess.getSession().getProject()).isBazel()) {
494494
return true;
495495
}
496-
496+
497497
return VmServiceVersion.hasMapping(version);
498498
}
499499

@@ -621,7 +621,7 @@ private void checkDone() {
621621
public void onError(RPCError error) {
622622
LOG.error(error.toString());
623623
LOG.error(error.getMessage());
624-
LOG.error(error.getRequest());
624+
LOG.error(Objects.toString(error.getRequest()));
625625
LOG.error(error.getDetails());
626626
errorResponses.add(error);
627627
consumer.received(breakpointResponses, errorResponses);

0 commit comments

Comments
 (0)