mm: disable console as it might error trying to fetch config

This commit is contained in:
dswbx
2024-12-11 18:25:31 +01:00
parent 2395d7fe97
commit d81b3acb94
3 changed files with 33 additions and 14 deletions

View File

@@ -201,7 +201,10 @@ export class Repository<DB = any, TB extends keyof DB = any> implements EmitsEve
}
};
} catch (e) {
console.error("many error", e, compiled);
if (e instanceof Error) {
console.error("[ERROR] Repository.performQuery", e.message);
}
throw e;
}
}