Better error handling if the site domain is not found or returned.

This commit is contained in:
Scott Idem
2025-01-28 18:47:30 -05:00
parent acff856e25
commit bdea373c7f
2 changed files with 24 additions and 137 deletions

View File

@@ -16,7 +16,6 @@ export function add_url_params(
}
) {
if (log_lvl) {
// console.log(`*** add_url_params() ***`);
console.log(`*** add_url_params() *** base_url=${base_url} endpoint=${endpoint}`, params);
}
@@ -45,7 +44,7 @@ export function clean_headers(
}
) {
if (log_lvl) {
console.log(`*** clean_headers() ***`);
console.log(`*** clean_headers() ***`, headers);
}
let headers_cleaned: key_val = {};