Skip to content

Conversation

@sanderPostma
Copy link
Contributor

No description provided.

try {
return await ibCredentialLocaleBrandingFrom({localeBranding: await credentialLocaleBrandingFrom(display)});
} catch (e) {
console.error(`Could not fetch branding. Branding data: ${JSON.stringify(display)}`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not sure if this is the way we should handle this. Also what situation did you have where the branding was not present?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Images could be unavailable because of a network issue for instance. I rather have us accept the credential without branding then having an error because of branding issues.

If I remember correctly it was a case where the image could not be found, right @sander

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we then not fix that in the plugin instead of the wallet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants