[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

mod_ruby/eruby & apache error_log

ledestin

5/14/2005 12:56:00 AM

Hello,

When an eruby script fails half-way (e.g. ` operation isn't allowed),
nothing is written to apache error_log, so I have a part of the page
generated, but can't tell what has happened to the rest. I've found a
workaround to use "begin rescue puts $!", but it is inconvenient.
mod_ruby/eruby should report such errors in error_log, IMHO.