Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Message missing due to incomplete Format implementation #7

Closed
Southclaws opened this issue Nov 4, 2022 · 0 comments
Closed

Message missing due to incomplete Format implementation #7

Southclaws opened this issue Nov 4, 2022 · 0 comments

Comments

@Southclaws
Copy link
Owner

In some cases, due to my lazy format implementation, you get no useful strings out of a Fault:

<fctx>
	.../db.go:419
<fctx>
	.../db.go:227

This I noticed when using assert.NoError(t, err) where err is a Fault chain.

Should be a simple fix, it seems NoError uses %+v when printing the error, same as panic does and others.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant