Skip to content

Commit bb7a32b

Browse files
Merge pull request #8 from ProxayFox/copilot/sub-pr-7
Add fallback logging to aikido-precommit version resolution
2 parents d562de9 + c67affb commit bb7a32b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/aikido-precommit/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ fetch_latest_version() {
2727
echo "$extracted_version"
2828
return 0
2929
fi
30+
echo "Warning: Could not extract version from upstream script, using fallback version $FALLBACK_VERSION" >&2
31+
else
32+
echo "Warning: Failed to fetch upstream version (network or connection timeout), using fallback version $FALLBACK_VERSION" >&2
3033
fi
3134

3235
# Fallback if upstream fetch fails

0 commit comments

Comments
 (0)