mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-30 18:07:15 +00:00 
			
		
		
		
	minor, add more debug info
This commit is contained in:
		
							parent
							
								
									687cfcc2b1
								
							
						
					
					
						commit
						87ab2d9085
					
				
							
								
								
									
										8
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								acme.sh
									
									
									
									
									
								
							| @ -645,6 +645,10 @@ _post() { | ||||
|     _ret="$?" | ||||
|     if [ "$_ret" != "0" ] ; then | ||||
|       _err "Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: $_ret" | ||||
|       if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ] ; then | ||||
|         _err "Here is the curl dump log:" | ||||
|         _err "$(cat "$_CURL_DUMP")" | ||||
|       fi | ||||
|     fi | ||||
|   else | ||||
|     _debug "WGET" "$WGET" | ||||
| @ -986,10 +990,10 @@ _initpath() { | ||||
|     WGET="$WGET -d " | ||||
|   fi | ||||
| 
 | ||||
|   dp="$LE_WORKING_DIR/curl.dump" | ||||
|   _CURL_DUMP="$LE_WORKING_DIR/curl.dump" | ||||
|   CURL="curl -L --silent" | ||||
|   if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ] ; then | ||||
|     CURL="$CURL --trace-ascii $dp " | ||||
|     CURL="$CURL --trace-ascii $_CURL_DUMP " | ||||
|   fi | ||||
|    | ||||
|   if [ "$Le_Insecure" ] ; then | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user