···314314 match vertex with
315315 | Content_vertex _ -> None
316316 | Iri_vertex iri ->
317317- Option.some @@
318317 match Forest.find_opt forest.resources iri with
319318 | None ->
320320- Reporter.fatalf Internal_error "Attempted to export publication but tree `%a` has not yet been planted" Iri.pp iri
321321- | Some result -> result
319319+ Reporter.emitf Internal_error "Attempted to export publication but tree `%a` has not yet been planted" Iri.pp iri;
320320+ None
321321+ | Some result -> Some result
322322 in
323323 match publication.format with
324324 | Json_blob ->