Skip to content

Commit 79afa1d

Browse files
Zachinquarantineblakehhuynh
authored andcommitted
cmd/faucet: more verbose message about private posts (ethereum#25129)
* cmd/faucet: Add error message for private posts Fixes ethereum#22631 * grammar
1 parent e918421 commit 79afa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/faucet/faucet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ func authFacebook(url string) (string, string, common.Address, error) {
860860
address := common.HexToAddress(string(regexp.MustCompile("0x[0-9a-fA-F]{40}").Find(body)))
861861
if address == (common.Address{}) {
862862
//lint:ignore ST1005 This error is to be displayed in the browser
863-
return "", "", common.Address{}, errors.New("No Ethereum address found to fund")
863+
return "", "", common.Address{}, errors.New("No Ethereum address found to fund. Please check the post URL and verify that it can be viewed publicly.")
864864
}
865865
var avatar string
866866
if parts = regexp.MustCompile(`src="([^"]+fbcdn\.net[^"]+)"`).FindStringSubmatch(string(body)); len(parts) == 2 {

0 commit comments

Comments
 (0)