Lots of work on getting the Launcher actually working well.
This commit is contained in:
@@ -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.'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user