You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kiwiidb this issue doesn't seem to complex to solve. Can I give it a try?
My suggestion is to create a method that returns the BadArgumentsError and can be passed an argument to append to the already available property Message: "Bad arguments",
I would suggest to just pass the same string that is passed to Errorf
If an invalid request is provided it would be nice to return to the caller why the arguments were bad rather than just "bad arguments".
I am not sure of the security implications here.
https://github.com/getAlby/lndhub.go/blob/main/lib/responses/errors.go#L25
The text was updated successfully, but these errors were encountered: