Less debug
This commit is contained in:
@@ -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 route:`, route);
|
||||||
// console.log(`Svelte root +layout.ts url:`, url);
|
// console.log(`Svelte root +layout.ts url:`, url);
|
||||||
|
|
||||||
let account_id: Promise<any>;
|
let account_id: any; // Promise<any>;
|
||||||
|
|
||||||
let ae_acct: key_val = {
|
let ae_acct: key_val = {
|
||||||
api: ae_api_init,
|
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.'
|
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) {
|
if (result === null) {
|
||||||
error(403, {
|
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);
|
console.log(`root +layout.ts: ae_loc_init = `, ae_loc_init);
|
||||||
}
|
}
|
||||||
|
|
||||||
log_lvl = 1;
|
// log_lvl = 0;
|
||||||
|
|
||||||
if (!account_id) {
|
if (!account_id) {
|
||||||
console.log(`root +layout.ts: The account_id was not found!!!`);
|
console.log(`root +layout.ts: The account_id was not found!!!`);
|
||||||
|
|||||||
Reference in New Issue
Block a user