Less debug

This commit is contained in:
Scott Idem
2025-01-28 18:49:34 -05:00
parent bdea373c7f
commit cb19031989

View File

@@ -62,7 +62,7 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
// console.log(`Svelte root +layout.ts route:`, route);
// console.log(`Svelte root +layout.ts url:`, url);
let account_id: Promise<any>;
let account_id: any; // Promise<any>;
let ae_acct: key_val = {
api: ae_api_init,
@@ -250,7 +250,9 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
message: 'Site lookup aborted or failed! Check the network connection, domain name, and API.'
});
});
console.log(`ALERT response = `, result);
if (log_lvl > 1) {
console.log(`ALERT response = `, result);
}
if (result === null) {
error(403, {
@@ -268,7 +270,7 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
console.log(`root +layout.ts: ae_loc_init = `, ae_loc_init);
}
log_lvl = 1;
// log_lvl = 0;
if (!account_id) {
console.log(`root +layout.ts: The account_id was not found!!!`);