Skip to content

do not raise exception on missing asset#4455

Merged
mitchellhenke merged 3 commits intomasterfrom
mitchellhenke/fix-missing-asset-error
Nov 24, 2020
Merged

do not raise exception on missing asset#4455
mitchellhenke merged 3 commits intomasterfrom
mitchellhenke/fix-missing-asset-error

Conversation

@mitchellhenke
Copy link
Contributor

#4451 introduced a default config that causes an exception to be raised if a url/path helper is called with an asset that doesn't exist in the pipeline

This did reveal an edge case with some SPs that have a blank string as a logo instead of nil, so the switch to .present? should now give them the default logo.

Copy link
Contributor

@stevegsa stevegsa left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
@mitchellhenke mitchellhenke merged commit f904247 into master Nov 24, 2020
@mitchellhenke mitchellhenke deleted the mitchellhenke/fix-missing-asset-error branch November 24, 2020 18:45
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.

3 participants