File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/server/lib/cloud/api Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import { isNonRetriableCertErrorCode } from '../network/non_retriable_cert_error
4040
4141const debug = debugModule ( 'cypress:server:cloud:api' )
4242const debugProtocol = debugModule ( 'cypress:server:protocol' )
43+ const debugVerbose = debugModule ( 'cypress-verbose:server:cloud:api' )
4344
4445const THIRTY_SECONDS = humanInterval ( '30 seconds' )
4546const SIXTY_SECONDS = humanInterval ( '60 seconds' )
@@ -164,7 +165,9 @@ const rp = request.defaults((params: CypressRequestOptions, callback) => {
164165 cacheResponse ( resp , params )
165166 }
166167
167- return debug ( 'response %o' , resp )
168+ debug ( `${ params . method } ${ params . url } : ${ resp ? `${ resp . status } ${ resp . statusText } ` : 'empty response' } ` )
169+ debugVerbose ( 'response headers: %o' , resp ? resp . headers : 'no headers' )
170+ debugVerbose ( 'body:' , resp ? resp . body : 'no body' )
168171 } )
169172} )
170173
You can’t perform that action at this time.
0 commit comments