diff options
| -rwxr-xr-x | redprine | 5 | 
1 files changed, 5 insertions, 0 deletions
| @@ -183,6 +183,11 @@ function update_redmine_status () {  		--request PUT \  		--data "$json" \  		--location "${REDMINE_BASE_URL}/issues/${issue_id}.json" + +	# Output an error message if the request fails +	# https://superuser.com/questions/272265/getting-curl-to-output-http-status-code/442395#442395 +	# curl -s -o /dev/null -w "%{http_code}" http://www.example.org/ +	# curl -s -o /dev/null -I -w "%{http_code}" http://www.example.org/  }  function update_cache_with_new_pulls () { | 
