cozy / cozy-banks

A Banks Aggregator on Cozy
https://cozy.io
GNU Affero General Public License v3.0
59 stars 26 forks source link

VER-180 : fix: Don't crash service if there is no database #2692

Closed Crash-- closed 9 months ago

Crash-- commented 9 months ago

Now, each errors are thrown... So if there is no database because there is no bills for instance, the service was crashing.

So I took this commit https://github.com/cozy/cozy-banks/commit/7a8a8a33ad353a59d88334076d54bcf9cf80be6c and test if the error is because there is no database before throwing.

bundlemon[bot] commented 9 months ago

BundleMon

Files added (47) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | screenshots/fr/screenshot4.png
| +1.29MB | - :white_check_mark: | screenshots/en/screenshot4.png
| +1.28MB | - :white_check_mark: | vendors.bundle.js
| +1.18MB | - :white_check_mark: | screenshots/fr/screenshot5.png
| +1.17MB | - :white_check_mark: | screenshots/en/screenshot5.png
| +1.17MB | - :white_check_mark: | categorization.js
| +1.09MB | - :white_check_mark: | onOperationOrBillCreate.js
| +1.08MB | - :white_check_mark: | konnectorAlerts.js
| +1.06MB | - :white_check_mark: | recurrence.js
| +1.06MB | - :white_check_mark: | budgetAlerts.js
| +1.04MB | - :white_check_mark: | autogroups.js
| +464.5KB | - :white_check_mark: | linkMyselfToAccounts.js
| +464.13KB | - :white_check_mark: | screenshots/fr/screenshot1.png
| +330.32KB | - :white_check_mark: | screenshots/en/screenshot1.png
| +311.39KB | - :white_check_mark: | screenshots/fr/screenshot2.png
| +264.27KB | - :white_check_mark: | screenshots/en/screenshot2.png
| +256.24KB | - :white_check_mark: | screenshots/fr/screenshot3.png
| +246.98KB | - :white_check_mark: | screenshots/en/screenshot3.png
| +243.76KB | - :white_check_mark: | main.bundle.js
| +208.8KB | - :white_check_mark: | img/veepee-info.43d778410d97b8e73b4eb07bb4631
d74.png
| +173.24KB | - :white_check_mark: | img/veepee-info@2x.e00642b6164d2b110ebd6a1443
9fcda5.png
| +167.13KB | - :white_check_mark: | img/ameli-side.7173251188c5fe0d8d54e265f8426a
89.png
| +115.29KB | - :white_check_mark: | cozy-bar.bundle.js
| +34.39KB | - :white_check_mark: | vendors-banks.(hash).(hash).min.css
| +31.64KB | - :white_check_mark: | img/veepee.9d3db3d18a5534582eba5b9fdbddb8bf.p
ng
| +25.01KB | - :white_check_mark: | img/transfer-error.81739cda73db9309b4f58bf975
ee3856.jpg
| +24.69KB | - :white_check_mark: | main-banks.(hash).min.css
| +16.18KB | - :white_check_mark: | img/transfer-done.952c792c91ee5a8b70e025e85bf
4938a.jpg
| +13.95KB | - :white_check_mark: | icon-banks.jpg
| +8.09KB | - :white_check_mark: | img/icon-banks.3b21dff3d03e7f0b319fb93b5c5417
84.jpg
| +8.09KB | - :white_check_mark: | img/search-illu.4536cb0962f2010e397bb96aeed5b
415.svg
| +4.48KB | - :white_check_mark: | img/timeline_desktop_fr.8a2f9796b9d34fdc21eec
489d2f16db1.svg
| +3.94KB | - :white_check_mark: | img/timeline_mobile_fr.e42a3b60dcefcdbae40e44
9c49c01d83.svg
| +3.83KB | - :white_check_mark: | img/timeline_mobile_en.0f4ace6755128e27a825e0
31b0480a71.svg
| +3.66KB | - :white_check_mark: | img/timeline_desktop_en.8ed0e7248216da5fb042e
30314036a39.svg
| +3.51KB | - :white_check_mark: | mesinfos/favicon-32x32.png
| +1.39KB | - :white_check_mark: | mesinfos/favicon.ico
| +1.19KB | - :white_check_mark: | mesinfos/favicon-16x16.png
| +1.11KB | - :white_check_mark: | index.html
| +1.07KB | - :white_check_mark: | img/NoAccount.5cd307dbe22ac700d2f570f2c33487e
3.svg
| +1021B | - :white_check_mark: | mesinfos/icon-bank.svg
| +645B | - :white_check_mark: | img/pie-demo.5d713502666ac766dddccd37e34b0089
.svg
| +449B | - :white_check_mark: | favicon-32x32.png
| +242B | - :white_check_mark: | public/safari-pinned-tab.svg
| +229B | - :white_check_mark: | favicon-16x16.png
| +216B | - :white_check_mark: | icon-banks.svg
| +191B | - :white_check_mark: | img/icon-banks.9c3bc95f679ee29ae4b2b3f9fda178
37.svg
| +191B | -

Total files change +14.79MB 0%

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history