Reduce logcat spew when checking packager status
Summary: public The common case is to hit an error when the server isn't running. We shouldn't spew a stack trace for it. Reviewed By: foghina Differential Revision: D2685706 fb-gh-sync-id: d230af170b92a05452f04a90f23172f15e62dce6
This commit is contained in:
Родитель
c3963fdacd
Коммит
05c79059ae
|
@ -217,7 +217,10 @@ public class DevServerHelper {
|
|||
new Callback() {
|
||||
@Override
|
||||
public void onFailure(Request request, IOException e) {
|
||||
FLog.e(ReactConstants.TAG, "IOException requesting status from packager", e);
|
||||
FLog.w(
|
||||
ReactConstants.TAG,
|
||||
"The packager does not seem to be running as we got an IOException requesting " +
|
||||
"its status: " + e.getMessage());
|
||||
callback.onPackagerStatusFetched(false);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче