mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-28 15:27:03 +02:00
fix(core): Log all command errors messages (#13827)
This commit is contained in:
parent
526a2e4ca3
commit
e8334eefa1
|
|
@ -240,6 +240,7 @@ export abstract class BaseCommand extends Command {
|
|||
}
|
||||
|
||||
async finally(error: Error | undefined) {
|
||||
if (error?.message) this.logger.error(error.message);
|
||||
if (inTest || this.id === 'start') return;
|
||||
if (Db.connectionState.connected) {
|
||||
await sleep(100); // give any in-flight query some time to finish
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user