Hi Jeff,

Is there a way to detect the disabled capabilities, without having to
catch CapabilityDisabledError?  So rather than wait for a failure, we
can simple do something like:

if DatastoreDown:
  return an error straight away letting users know what's going on +
expected down time (Please try again in 10 minutes, etc)

# else continue as normal..

Also, if there was a way to get an expected ETA on the time to fix the
problem *via an API* that would be awesome.  Sometimes, with scheduled
maintenance you know it's only going to be down for 10 minutes. So we
could a post a message to users saying "We expect to be back in 10
minutes!". Or for outages like now, the API call could respond with 1
hour.

Thanks

Dave

On Jul 2, 10:51 am, "Jeff S (Google)" <[email protected]> wrote:
> Hi ksjun,
>
> You make an excellent point. It may not be possible to make these
> changes at the moment, but I think it would be good practice to have
> this kind of error handling in place in the future.
>
> Regards,
>
> Jeff
>
> On Jul 2, 10:42 am, ksjun <[email protected]> wrote:
>
>
>
> > But how can I modify my code to handle the capability disabled
> > exceptions?
>
> > Now we can't upload updated code to server.
>
> > On Jul 3, 2:38 am, "Jeff S (Google)" <[email protected]> wrote:
>
> > > Hi all,
>
> > > As many of you have noticed, App Engine has been experiencing elevated
> > > datastore latency and error rates and we switched into an unplanned
> > > maintenance mode. The notice was originally posted to the downtime
> > > notify group, please follow this thread for details and suggestions on
> > > handling the capability disabled exceptions:
>
> > >http://groups.google.com/group/google-appengine-downtime-notify/brows...
>
> > > Apologies all, I know this is frustrating for all of you and for us.
> > > We normally post these notices just to the downtime notify group, but
> > > in this case I've seen several threads on the topic.
>
> > > Thank you,
>
> > > Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to