Skip to content

Commit 319776e

Browse files
Zachinquarantinejagdeep sidhu
authored andcommitted
cmd/faucet: more verbose message about private posts (ethereum#25129)
1 parent dd1bd80 commit 319776e

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
@@ -902,7 +902,7 @@ func authFacebook(url string) (string, string, common.Address, error) {
902902
address := common.HexToAddress(string(regexp.MustCompile("0x[0-9a-fA-F]{40}").Find(body)))
903903
if address == (common.Address{}) {
904904
//lint:ignore ST1005 This error is to be displayed in the browser
905-
return "", "", common.Address{}, errors.New("No NEVM address found to fund")
905+
return "", "", common.Address{}, errors.New("No NEVM address found to fund. Please check the post URL and verify that it can be viewed publicly.")
906906
}
907907
var avatar string
908908
if parts = regexp.MustCompile(`src="([^"]+fbcdn\.net[^"]+)"`).FindStringSubmatch(string(body)); len(parts) == 2 {

0 commit comments

Comments
 (0)