mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[fuchsia] Add logging for when fdio_get_vmo fails. (flutter/engine#30742)
This commit is contained in:
parent
960b5060af
commit
a42101ccc6
@ -38,6 +38,8 @@ bool VmoFromFd(int fd, bool executable, fuchsia::mem::Buffer* buffer) {
|
||||
}
|
||||
|
||||
if (status != ZX_OK) {
|
||||
FX_LOGF(ERROR, LOG_TAG, "fdio_get_vmo_%s failed: %s",
|
||||
executable ? "exec" : "copy", zx_status_get_string(status));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user