mod_ruby/eruby & apache error_log

Discussion in 'Ruby' started by Dmitry Maksyoma, May 14, 2005.

  1. 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.
     
    Dmitry Maksyoma, May 14, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. paul vudmaska
    Replies:
    4
    Views:
    240
    paul vudmaska
    Sep 1, 2003
  2. Daniel Cremer

    my mod_ruby doesn't like my eruby

    Daniel Cremer, Sep 14, 2003, in forum: Ruby
    Replies:
    0
    Views:
    216
    Daniel Cremer
    Sep 14, 2003
  3. Useko Netsumi

    eruby & mod_ruby under windows

    Useko Netsumi, Sep 15, 2003, in forum: Ruby
    Replies:
    0
    Views:
    171
    Useko Netsumi
    Sep 15, 2003
  4. Useko Netsumi

    latest mod_ruby and eruby ..

    Useko Netsumi, Oct 16, 2003, in forum: Ruby
    Replies:
    0
    Views:
    189
    Useko Netsumi
    Oct 16, 2003
  5. Useko Netsumi
    Replies:
    0
    Views:
    160
    Useko Netsumi
    Nov 5, 2003
  6. Gavin Kistner

    eval and mod_ruby/eRuby

    Gavin Kistner, Feb 18, 2004, in forum: Ruby
    Replies:
    2
    Views:
    189
    Gavin Kistner
    Feb 19, 2004
  7. Robert McKinnon
    Replies:
    1
    Views:
    342
    Dave Thomas
    Mar 6, 2004
  8. Johny Goerend
    Replies:
    3
    Views:
    311
    Brian Candler
    Sep 27, 2010
Loading...