dump probe response headers

Signed-off-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
Brian DeHamer
2025-04-09 10:45:19 -07:00
parent bb7f52f719
commit 3a105d9b34
Generated Vendored
+2
View File
@@ -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) {