Skip to content

Commit

Permalink
improve error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
anchpop committed Sep 19, 2024
1 parent c723389 commit 70cc374
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion constants.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ if [[ "${TESTNET}" == "local" ]]; then
REGISTRY_FOUND=$(find "$BASE_PATH" -type d -name ic_registry_local_store 2>/dev/null)

if [ $(echo "$REGISTRY_FOUND" | wc -l) -gt 1 ]; then
echo "Error: Multiple ic_registry_local_store directories found"
# If you get to this case, it's likely that it can be resolved by starting
# your local replica using `dfx start --clean`
echo "Error: Multiple ic_registry_local_store directories found: ${REGISTRY_FOUND}"
exit 1
fi

Expand Down

0 comments on commit 70cc374

Please sign in to comment.