dump probe response headers
Signed-off-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
+2
@@ -95869,6 +95869,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const node_crypto_1 = __importDefault(__nccwpck_require__(77598));
|
||||
const proc_log_1 = __nccwpck_require__(6457);
|
||||
const constants_1 = __nccwpck_require__(90204);
|
||||
const credentials_1 = __nccwpck_require__(31855);
|
||||
const error_1 = __nccwpck_require__(34031);
|
||||
@@ -95909,6 +95910,7 @@ class RegistryClient {
|
||||
if (probeResponse.status === 200) {
|
||||
return;
|
||||
}
|
||||
proc_log_1.log.http('fetch', `${probeResponse.status} ${JSON.stringify(probeResponse.headers.raw())}`);
|
||||
// If we still need to authenticate, we must have credentials
|
||||
const { username, password } = creds;
|
||||
if (!username || !password) {
|
||||
|
||||
Reference in New Issue
Block a user