[Nitro] silent failures...

George Moschovitis george.moschovitis at gmail.com
Mon Sep 10 03:56:40 EDT 2007


Fixed, thanks for reporting.

-g.

On 9/10/07, Robert Mela <rob at robmela.com> wrote:
>
> The typo in my conf/debug.rb is not a problem.
>
> What's a problem is that:
>
>   -- Nitro catches an exception while executing conf/debug.rb
>   -- There is no printout of the exception to screen
>   -- Nitro continues to execute AFTER failing in initialization!
>
> In my case the exception is thrown before Og initialization occurs.
> It's pointless and confusing to allow a program to continue running
> after that... it should exit ( and print an error ) at that point.
>
> The error occurs in my code, which is executed in
> read_configuration_file() in application.rb line 200.  Whatever calls my
> bad code should exit after catching the exception.
>
>
>
> rdb:1) bt
> --> #0
>
> /Users/robertmela/nitro/repo.nitroproject.org/script/lib/../../nitro/lib/nitro/application.rb:167
> in 'read_configuration_file'
>     #1
>
> /Users/robertmela/nitro/repo.nitroproject.org/script/lib/../../nitro/lib/nitro/application.rb:200
> in 'configure'
>     #2
>
> /Users/robertmela/nitro/repo.nitroproject.org/script/lib/../../nitro/lib/nitro/application.rb:105
> in 'start'
>     #3 app.rb:26
>
>
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
>


-- 
http://www.me.gr
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070910/dd1dc779/attachment.html 


More information about the Nitro-general mailing list