Closed ae2079 closed 3 weeks ago
This update primarily focuses on enhancing error logging across various components. By including more descriptive messages and error objects in log statements, the changes improve the clarity and detail of error logs, facilitating easier debugging and maintenance. Key areas affected include resolvers, services, and server initialization functions.
File Path | Change Summary |
---|---|
src/adapters/superFluid/superFluidAdapter.ts |
Updated error logging messages for streamPeriods and accountBalance methods. |
src/resolvers/chainvineResolver.ts |
Added logging using logger for registration and click event errors. |
src/resolvers/donationResolver.ts |
Modified error logging to include error object in createDonation validation errors. |
src/resolvers/draftDonationResolver.ts |
Enhanced error logging for createDraftDonation and createDraftRecurringDonation validations. |
src/resolvers/projectResolver.ts |
Added logging for image upload failures. |
src/server/adminJs/adminJs.ts |
Added descriptive error message in getCurrentAdminJsSession function. |
src/server/adminJs/tabs/donationTab.ts |
Added error logging in importDonationsFromIdrissTwitter and exportDonationsWithFiltersToCsv . |
src/server/adminJs/tabs/projectsTab.ts |
Added error logging in exportProjectsWithFiltersToCsv . |
src/server/bootstrap.ts |
Enhanced error messages in bootstrap() and continueDbSetup() functions. |
src/services/authorizationServices.ts |
Added logging before rethrowing errors in validateAuthMicroserviceJwt . |
src/services/chains/evm/draftRecurringDonationService.ts |
Included error field in matchDraftRecurringDonations function. |
src/services/cronJobs/importLostDonationsJob.ts |
Modified logging to include error object in importLostDonations . |
src/services/safeServices.ts |
Enhanced error context in fetchSafeTransactionHash logging. |
src/services/the-giving-blocks/api.ts |
Enhanced logging in generateGivingBlockDepositAddress to include error object. |
In the code where errors hide,
Logs now shine, with errors tied,
Debugging paths are clear and bright,
With each log, we see the light.
Bugs beware, as we embark,
For clarity now leaves its mark.
🌟🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Add some error logs and complete some error messages
Summary by CodeRabbit