The alerting framework doesn't log an error to the console when using the addLastRunError
API
#179924
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
I've been exploring our metrics in serverless now that we have the fix for the
addLastRunError
errors (#179551). I noticed we do not log the error message to the console, making it hard to perform analysis on our top reported errors.Steps to reproduce
addLastRunError
tothrow new Error('fail');
Expected outcome
To log the error to the console similar to when an error gets thrown. A message could appear like this:
The text was updated successfully, but these errors were encountered: