diff --git a/lib/http_tools.sh b/lib/http_tools.sh index ba073b0..a8fdcb6 100755 --- a/lib/http_tools.sh +++ b/lib/http_tools.sh @@ -58,7 +58,7 @@ # # This function requires the following library file: # -# command_paths.sh +# core_lib.sh # # The library file must be sourced BEFORE calling this function. # @@ -247,7 +247,7 @@ conditional_get () { # quiet failure mode if $cache_only_mode; then - echo "ERROR: $FUNCNAME: resource not cached: $location" >&2 + print_log_message "$FUNCNAME: ERROR: resource not cached: $location" "$log_file" return 1 fi @@ -403,7 +403,7 @@ conditional_get () { elif [ "$response_code" = "304" ]; then # quiet failure mode if $force_output_mode; then - echo "ERROR: $FUNCNAME: resource not modified: $location" >&2 + print_log_message "$FUNCNAME: ERROR: resource not modified: $location" "$log_file" return 1 fi @@ -433,7 +433,7 @@ conditional_get () { # # This function requires the following library files: # -# command_paths.sh +# core_lib.sh # # These library files must be sourced BEFORE calling this function. # @@ -475,7 +475,7 @@ get_response_code () { # # This function requires the following library files: # -# command_paths.sh +# core_lib.sh # # These library files must be sourced BEFORE calling this function. #