Skip to content

Commit

Permalink
cmd/faucet: more verbose message about private posts (ethereum#25129)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachinquarantine authored and jagdeep sidhu committed Jun 22, 2022
1 parent dd1bd80 commit 319776e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/faucet/faucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ func authFacebook(url string) (string, string, common.Address, error) {
address := common.HexToAddress(string(regexp.MustCompile("0x[0-9a-fA-F]{40}").Find(body)))
if address == (common.Address{}) {
//lint:ignore ST1005 This error is to be displayed in the browser
return "", "", common.Address{}, errors.New("No NEVM address found to fund")
return "", "", common.Address{}, errors.New("No NEVM address found to fund. Please check the post URL and verify that it can be viewed publicly.")
}
var avatar string
if parts = regexp.MustCompile(`src="([^"]+fbcdn\.net[^"]+)"`).FindStringSubmatch(string(body)); len(parts) == 2 {
Expand Down

0 comments on commit 319776e

Please sign in to comment.