Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 83e166e

Browse files
comment
1 parent f380f4b commit 83e166e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shell/platform/fuchsia/dart_runner/mapped_resource.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ MappedResource::~MappedResource() {
110110

111111
bool ElfSnapshot::Load(fdio_ns_t* namespc, const std::string& path) {
112112
fuchsia::mem::Buffer vmo;
113-
if (!OpenVmo(&vmo, namespc, path, /*executable=*/true))
113+
if (!OpenVmo(&vmo, namespc, path, /*executable=*/true)) {
114+
FX_LOGF(ERROR, LOG_TAG, "Failed to open VMO for %s", path.c_str());
114115
return false;
116+
}
115117
void* const handle = dlopen_vmo(vmo.vmo.get(), RTLD_LAZY | RTLD_LOCAL);
116118
if (handle == nullptr) {
117119
FX_LOGF(ERROR, LOG_TAG, "Failed to load ELF snapshot: %s (reason: %s)",

0 commit comments

Comments
 (0)