Skip to content

Commit 39077f1

Browse files
add function for logging error
1 parent b5782a5 commit 39077f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

resources/ingest_demo_data.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ BATCH_SIZE=1000
1212
# Pre-compute auth header
1313
AUTH_HEADER="Authorization: Basic $(echo -n "$P_USERNAME:$P_PASSWORD" | base64)"
1414

15+
# Logging functions
16+
log_error() {
17+
echo "$@" >&2
18+
}
19+
1520
# Common curl function with retry logic
1621
curl_with_retry() {
1722
local url="$1"

0 commit comments

Comments
 (0)