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
Labels
enhancement
New feature or request
Comments
Derek,
Thanks for your reply. I think in this case I did not get an email because
the script itself doesn't end in an error (perhaps only unhandled errors
end in this manner?). Many of the errors, including this one, are caught
(and usually logged), and then the script continues and ends
"successfully", so google does not notify me.
The error rate is 0%, despite continuously failing (every 30 min) to
connect to the server from 1 pm Aug 3rd to 6:30 pm Aug 4th.
[image: image.png]
The final line from each execution log is always Sync finished.
[image: image.png]
…-Kevin
On Thu, Aug 5, 2021 at 11:01 AM Derek Antrican ***@***.***> wrote:
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: image]
<https://user-images.githubusercontent.com/1558019/128372788-66e55725-9dbb-47eb-a125-2787883f8506.png>
Please let me know if you have questions about finding that page
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVDF5WHGTQFBJVXLX6WC5XLT3KRVTANCNFSM5BT6LSHA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
┻━┻ ︵╰(°□°)╯︵ ┻━┻
|
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
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>The text was updated successfully, but these errors were encountered: