Re: Failing a DAG based on thrown exception

2016-08-09 Thread Silver, Michael
To force the app to shutdown you can you can throw a ShutdownException. See https://lists.apache.org/thread.html/e84f3fec5cc84b21b4547463c4a93f10b04dbdc92fb38d9f6283442c@%3Cusers.apex.apache.org%3E From: "McCullough, Alex" Reply-To: "users@apex.apache.org" Date: Tuesday, August 9, 2016 at 10:16

Re: Force Fail Application

2016-07-18 Thread Silver, Michael
e outcome you are expecting from the "true exception" ?> > > On Mon, Jul 18, 2016 at 10:11 AM Silver, Michael <> > michael.sil...@capitalone.com<mailto:michael.sil...@capitalone.com>> wrote:> > > > I looked into the ShutdownException. My only concern i

Re: Force Fail Application

2016-07-18 Thread Silver, Michael
), "h...@gmail.com<mailto:h...@gmail.com>" mailto:h...@gmail.com>> wrote: > He Michael,> > > You can throw a ShutdownException.> > > Siyuan> > > On Mon, Jul 18, 2016 at 10:06 AM, Silver, Michael <> > michael.sil...@capitalone.com<mailto:mi

Force Fail Application

2016-07-18 Thread Silver, Michael
Hello, I am looking for a solution to force shutdown or fail my application. I have an operator that checks that a file (which is needed for the application to run) is present during setup. If the file is not present I want the entire application to fail. How would I do this in apex? Thank y