Skip to content

Commit c702f21

Browse files
committed
Use util logging method
1 parent 1149afc commit c702f21

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/io/flutter/sdk/AndroidEmulatorManager.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,7 @@ private void fireChangeEvent(final @NotNull List<AndroidEmulator> newEmulators,
118118
listener.run();
119119
}
120120
catch (Exception e) {
121-
if (FlutterSettings.getInstance().isFilePathLoggingEnabled()) {
122-
LOG.warn("AndroidEmulatorManager listener threw an exception", e);
123-
} else {
124-
LOG.warn("AndroidEmulatorManager listener threw an exception: " + e.getMessage());
125-
}
121+
FlutterUtils.warn(LOG, "AndroidEmulatorManager listener threw an exception", e);
126122
}
127123
}
128124
}

0 commit comments

Comments
 (0)