Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/io/flutter/view/InspectorView.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import io.flutter.jxbrowser.InstallationFailedReason;
import io.flutter.jxbrowser.JxBrowserManager;
import io.flutter.jxbrowser.JxBrowserStatus;
import io.flutter.logging.PluginLogger;
import io.flutter.run.FlutterDevice;
import io.flutter.run.daemon.DevToolsInstance;
import io.flutter.run.daemon.DevToolsService;
Expand Down Expand Up @@ -61,7 +62,7 @@
storages = {@Storage("$WORKSPACE_FILE$")}
)
public class InspectorView implements Disposable {
private static final @NotNull Logger LOG = Logger.getInstance(InspectorView.class);
private static final @NotNull Logger LOG = PluginLogger.createLogger(InspectorView.class);

public static final @NotNull String TOOL_WINDOW_ID = "Flutter Inspector";

Expand Down Expand Up @@ -275,7 +276,7 @@ private void openInspectorWithDevTools(FlutterApp app,

// TODO(helinx): Restart DevTools server if there's an error.
if (error != null) {
LOG.error(error);
FlutterUtils.error(LOG, "Error while starting DevTools server", error, true);
viewUtils.presentLabel(toolWindow, DEVTOOLS_FAILED_LABEL);
return;
}
Expand Down