Better error handling if the site domain is not found or returned.
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user