c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

commit 4a783b5d4e322c7213d4ab26a7d00283dad40087
parent 4947f799888e707ec5c1272fd2c1f35865b7906b
Author: Gavin  Peacock <gpeacock@adobe.com>
Date:   Thu, 25 Aug 2022 19:51:50 -0700

Report failures from remote manifest fetch (#116)

* Report failures from remote manifest fetch
Diffstat:
Msdk/src/store.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sdk/src/store.rs b/sdk/src/store.rs @@ -1913,6 +1913,7 @@ impl Store { Error::FileNotFound(asset_path.to_string_lossy().to_string()) } Error::UnsupportedType => Error::UnsupportedType, + Error::RemoteManifestFetch(_) => Error::RemoteManifestFetch("".to_string()), _ => Error::LogStop, }; let log_item = log_item!("asset", "error loading file", "load_from_asset").error(e); @@ -1941,6 +1942,7 @@ impl Store { Error::PrereleaseError => Error::PrereleaseError, Error::JumbfNotFound => Error::JumbfNotFound, Error::UnsupportedType => Error::UnsupportedType, + Error::RemoteManifestFetch(_) => Error::RemoteManifestFetch("".to_string()), _ => Error::LogStop, }; let log_item =