Fallar temprano si no se puede hablar a OpenSea
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
parent
cd9650368e
commit
05c2a102d4
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -82,7 +82,7 @@ func getRandomOpenSeaAsset() (Asset, error) {
|
|||
assets, err := GetAssets()
|
||||
if err != nil {
|
||||
log.Println("Error hablandole a OpenSea:", err)
|
||||
return Asset{}, nil
|
||||
return Asset{}, err
|
||||
}
|
||||
for _, a := range assets {
|
||||
if len(a.ImageUrl) == 0 {
|
||||
|
|
Loading…
Reference in a new issue