зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1696460 - Improve bind error logging. r=aklotz
This error is sent to the native layer so we never log it (at least locally). This also adds a "cause" exception to have the full stacktrace. Differential Revision: https://phabricator.services.mozilla.com/D108038
This commit is contained in:
Родитель
448bc74775
Коммит
f1becc166b
|
@ -709,7 +709,9 @@ public final class GeckoProcessManager extends IProcessManager.Stub {
|
|||
builder.append("; Type: ");
|
||||
builder.append(type.toString());
|
||||
|
||||
result.completeExceptionally(new RuntimeException(builder.toString()));
|
||||
final RuntimeException exception = new RuntimeException(builder.toString(), error);
|
||||
Log.e(LOGTAG, "Could not bind to process", exception);
|
||||
result.completeExceptionally(exception);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче