Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit b0a4d20

Browse files
committed
SIGN-8057 Make response reading optional
1 parent 752d05e commit b0a4d20

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • actions/submit-signing-request

‎actions/submit-signing-request/task.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ export class Task {
235235
return request;
236236
})
237237

238-
// log all outgoing responses
238+
// log all responses
239239
axios.interceptors.response.use(response => {
240-
core.debug(`Received response: ${response.status} ${response.statusText} from ${response.request.url}`);
240+
core.debug(`Received response: ${response?.status} ${response?.statusText} from ${response?.request?.url}`);
241241
return response;
242242
}, error => {
243-
core.debug(`Received response: ${error.response.status} ${error.response.statusText}`)
243+
core.debug(`Received response: ${error?.response?.status} ${error?.response?.statusText}`)
244244
return Promise.reject(error);
245245
})
246246

0 commit comments

Comments
 (0)