Better debug logs for bank sync errors. (#3296)

* Better debug logs for bank sync errors.

* add release note

* force CI update
This commit is contained in:
Robert Dyer
2024-08-20 09:44:35 -05:00
committed by GitHub
parent 6d84b0e371
commit aaf96bbc2c
2 changed files with 9 additions and 4 deletions

View File

@@ -1122,11 +1122,10 @@ handlers['accounts-bank-sync'] = async function ({ id }) {
'There was an internal error. Please get in touch https://actualbudget.org/contact for support.',
internal: err.stack,
});
err.message = 'Failed syncing account: ' + err.message;
captureException(err);
}
err.message = 'Failed syncing account “' + acct.name + '.”';
captureException(err);
} finally {
console.groupEnd();
}

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [psybers]
---
Better debug logs for bank sync errors.