Skip to content

Commit

Permalink
make Forge API error message more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
xorpaul committed Feb 20, 2023
1 parent 8d600b8 commit f2a6ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forge.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func queryForgeAPI(fm ForgeModule) ForgeResult {
Fatalf("Received 404 from Forge for module " + fm.author + "-" + fm.name + " using URL " + url + " Does the module really exist and is it correctly named?")
return ForgeResult{false, "", "", 0}
}
Fatalf("Unexpected response code " + resp.Status)
Fatalf("Unexpected response code for Forge URL " + url + " " + resp.Status + " If this is an Puppet Forge outage consider increasing forge.cacheTtl in your Puppetfile to 200h to skip :latest checks")
return ForgeResult{false, "", "", 0}
}

Expand Down

0 comments on commit f2a6ddb

Please sign in to comment.