|
|
@ -182,14 +182,6 @@ class AbsurdSqlDatabaseService implements DatabaseService { |
|
|
|
} |
|
|
|
operation.resolve(result); |
|
|
|
} catch (error) { |
|
|
|
// logger.error( // DISABLED
|
|
|
|
// "Error while processing SQL queue:",
|
|
|
|
// error,
|
|
|
|
// " ... for sql:",
|
|
|
|
// operation.sql,
|
|
|
|
// " ... with params:",
|
|
|
|
// operation.params,
|
|
|
|
// );
|
|
|
|
logger.error( |
|
|
|
"Error while processing SQL queue:", |
|
|
|
error, |
|
|
@ -242,9 +234,6 @@ class AbsurdSqlDatabaseService implements DatabaseService { |
|
|
|
|
|
|
|
// If initialized but no db, something went wrong
|
|
|
|
if (!this.db) { |
|
|
|
// logger.error( // DISABLED
|
|
|
|
// `Database not properly initialized after await waitForInitialization() - initialized flag is true but db is null`,
|
|
|
|
// );
|
|
|
|
logger.error( |
|
|
|
`Database not properly initialized after await waitForInitialization() - initialized flag is true but db is null`, |
|
|
|
); |
|
|
|