Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

fix: replace error messages with more user friendly versions #446

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

technosophos
Copy link
Member

Closes #422
Closes #439

@technosophos technosophos self-assigned this Nov 17, 2018
if err.Error() == "no signature block in data" {
return bun, errors.New("bundle is not signed")
}
// Dear Go, Y U NO TERNARY, kthxbye
Copy link
Member

Choose a reason for hiding this comment

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

🤣

Copy link
Member

@radu-matei radu-matei left a comment

Choose a reason for hiding this comment

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

LGTM

@technosophos technosophos merged commit 00d3d38 into cnabio:master Nov 19, 2018
@technosophos technosophos deleted the fix/422-439-error-messages branch November 19, 2018 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants