Skip to content

Conversation

@positiveblue
Copy link
Contributor

We were using Error(<string>, <err>) instead of Errorf(<string>, <err>). The error was appended at the end of the message instead of replacing the %v tag in the message.

Fixes #425

Copy link
Contributor

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

tools/Dockerfile Outdated
&& go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \
&& chmod -R 777 /tmp/build/
&& chmod -R 777 /tmp/build/ \
&& git config --global --add safe.directory /build
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't seem to be working just yet...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in #427

I am still not sure how it can be solved in lnd without making the folder "safe" for git 😕

@positiveblue positiveblue force-pushed the fix-425 branch 3 times, most recently from 3e44bf4 to 4e2b5af Compare January 5, 2023 12:18
We were using `Error(<string>, <err>)` instead of `Errorf(<string>,
<err>)`. The error was appended at the end of the message instead of
replacing the `%v` tag in the message.
@positiveblue positiveblue merged commit 15dfbfb into lightninglabs:master Jan 6, 2023
&& go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \
&& chmod -R 777 /tmp/build/
&& chmod -R 777 /tmp/build/ \
&& git config --global --add safe.directory /build
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this was a rebase issue. I don't think we actually still need this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it was T.T I will delete it in a next PR

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.

broken debug string

2 participants