[fuchsia] Add logging for when fdio_get_vmo fails. (flutter/engine#30742)

This commit is contained in:
Alexander Biggs
2022-01-07 10:00:10 -08:00
committed by GitHub
parent 960b5060af
commit a42101ccc6

View File

@@ -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;
}