Lots of work on getting the Launcher actually working well.

This commit is contained in:
Scott Idem
2025-09-24 16:56:32 -04:00
parent 4220a354be
commit 1ba9cd1c03
17 changed files with 453 additions and 344 deletions

View File

@@ -252,8 +252,8 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
}
})
.catch(function (error) {
console.log('API GET Object *fetch* request was aborted or failed in an unexpected way.', error);
.catch((err) => {
console.log('API GET Object *fetch* request was aborted or failed in an unexpected way.', err);
error(500, {
message: 'Site lookup aborted or failed! Check the network connection, domain name, and API.'
});
@@ -272,19 +272,15 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
});
}
// log_lvl = 0;
if (log_lvl > 1) {
console.log(`root +layout.ts: Using account_id = `, account_id);
console.log(`root +layout.ts: ae_loc_init = `, ae_loc_init);
}
// log_lvl = 0;
if (!account_id) {
console.log(`root +layout.ts: The account_id was not found!!!`);
error(500, {
message: 'The account ID was not found!'
message: 'The account ID was not found! Check the API.'
});
}