mac debug
This commit is contained in:
parent
6dc313e3c0
commit
438bea47a7
2 changed files with 7 additions and 2 deletions
|
|
@ -14,8 +14,9 @@ install_lnd() {
|
|||
LND_VERSION=$(json_value "tag_name" "$api_response")
|
||||
|
||||
if [ -z "$LND_VERSION" ]; then
|
||||
log "${PRIMARY_COLOR}Failed to fetch latest LND version.${RESET_COLOR}"
|
||||
exit 1
|
||||
# Fallback to a known stable version if GitHub API fails (e.g. rate limit)
|
||||
LND_VERSION="v0.18.3-beta"
|
||||
log "${PRIMARY_COLOR}Warning: Failed to fetch latest LND version from GitHub. Using fallback: ${LND_VERSION}${RESET_COLOR}"
|
||||
fi
|
||||
log "Latest LND version: $LND_VERSION"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue