mirror of https://github.com/actions/toolkit
Error Message updated
parent
dac801e6b9
commit
d0f4aae179
|
@ -1,5 +1,5 @@
|
||||||
import * as actions_http_client from '@actions/http-client'
|
import * as actions_http_client from '@actions/http-client'
|
||||||
import {IHeaders,IRequestOptions} from '@actions/http-client/interfaces'
|
import {IRequestOptions} from '@actions/http-client/interfaces'
|
||||||
import {HttpClient} from '@actions/http-client'
|
import {HttpClient} from '@actions/http-client'
|
||||||
import {BearerCredentialHandler} from '@actions/http-client/auth'
|
import {BearerCredentialHandler} from '@actions/http-client/auth'
|
||||||
import {debug, setSecret} from './core'
|
import {debug, setSecret} from './core'
|
||||||
|
@ -59,7 +59,7 @@ export class OidcClient implements IOidcClient {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Failed to get ID Token. \n
|
`Failed to get ID Token. \n
|
||||||
Error Code : ${error.statusCode}\n
|
Error Code : ${error.statusCode}\n
|
||||||
Response body: ${error.result.message}`
|
Error Message: ${error.result.message}`
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue