|
|
-
Re: preferred way to handle errors in LoadFunc constructor?Thejas M Nair 2010-08-16, 15:51
Grunt shell should catch the exceptions and print the error. I think it must be doing that already .
In non-interactive mode, I think it would be OK for the process to die in this situation. -Thejas On 8/15/10 4:16 PM, "Dmitriy Ryaboy" <[EMAIL PROTECTED]> wrote: Is there a preferred way to handle errors in LoadFunc initialization? I suspect that if I throw an exception in the constructor, the Pig process might die, which is not friendly, esp. to people working in the shell; but just printing out an error can obviously lead to trouble later on, as well. Ideas? -D |