Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive email when script produces an error #228

Closed
kjvowen opened this issue Aug 5, 2021 · 3 comments · Fixed by #403
Closed

Receive email when script produces an error #228

kjvowen opened this issue Aug 5, 2021 · 3 comments · Fixed by #403
Labels
enhancement New feature or request

Comments

@kjvowen
Copy link

kjvowen commented Aug 5, 2021

I encountered an issue yesterday where the server that produces the ical feed went down and I did not realize it until I happened to notice that the events I expected to be on my calendar were not there (and someone double-booked me). Looking back at the execution logs, I could see the error (and forwarded the information to our IT department to look into), but it would be nice if there was an option to have error messages like these sent to the email address specified in the script. In this case, the error was in the callWithBackoff function, but there are a variety of error messages throughout the script that probably would be useful to know about.

Aug 4, 2021, 6:03:21 PM Info Error, Retrying...Exception: Request failed for [REDACTED] returned code 500. Truncated server response:

<title>The wait operation timed out</title>
@kjvowen kjvowen added the enhancement New feature or request label Aug 5, 2021
@derekantrican
Copy link
Owner

Typically Google will send you an email the next day for all the previous day's failures. You can change this to happen immediately, though, by going to the trigger page, editing the trigger, and choosing "Notify me immediately".

image

Please let me know if you have questions about finding that page

@kjvowen
Copy link
Author

kjvowen commented Aug 5, 2021 via email

@derekantrican
Copy link
Owner

I see. Yes, this would be for unhandled errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants