I did some more digging and found that it was an issue with dotnet and how 
error reporting differs on local/production. I had already been isolating 
my /api endpoints from this error handling, and thought I was doing the 
same with my /cron endpoints, but I was not.


On Tuesday, February 15, 2022 at 3:02:35 PM UTC-7 Travis Marble wrote:

> I have noticed that some of my Cron jobs were silently failing, the 
> dashboard in the cloud scheduler show success.
>
> Digging into the logs, I can see the exception being thrown by the 
> request, but the request shows in the logs as being successful. 
>
> To further test this I created an endpoint that would always return a 
> server 500, I confirmed this in postman, however when I run the endpoint 
> via the cron dashboard I get success. If I look in the logs, I can again 
> see the exception being thrown that would normally result in the server 500 
> error. Again oddly the line in the logs that shows the request says 
> success, 200. 
>
> Any thoughts on why I always get success, obviously I can fix the issue so 
> it actually works, but it would be nice to be notified why it doesn't work.
>
> Travis
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ea3394ff-32e6-4a39-a8a9-5cf6517f1d89n%40googlegroups.com.

Reply via email to