Closed campeon23 closed 1 year ago
Resolution:
This issue has been addressed as per the provided recommendation. The log.Fatalf which had the potential to halt the entire application upon a pprof-related error has been updated. The error is now handled gracefully, allowing the application to continue its operations without abrupt termination. This approach ensures better resilience and reliability of our application even when encountering pprof errors.
Refer to Commit: "Changed the error handling mechanism for pprof-related errors. Instead of terminating the application on encountering pprof errors, we now handle them gracefully, ensuring the application remains up and continues to function."
Description: Error handling for the pprof error channel seems to be fatal (log.Fatalf). It might halt the entire application. Consider handling errors gracefully without bringing down the entire application. Severity: Moderate