can't understand

Andrew Kulinich <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
I have this code:
---
<%

raise 'here'

puts <<-TT
     #{ error( here }
TT

%>
---

As you can see - it has syntax error in line 6.
But when I request this from browser I not see raised exception:

---
/usr/local/lib/ruby/1.8/apache/eruby-run.rb:112:in `load': 
/tmp/tt.html.9913.0:6: syntax error (SyntaxError)
     from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:112:in `run'
     from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:78:in `handler'
     from /usr/local/lib/ruby/1.8/auto-reload.rb:84
---

Why? As I understanding, ruby interpreter must stop on "raise 'here'".

-- 
Andrew Kulinich
IT Group
Project manager
Phone/Fax +380 (372) 58-43-10
e-mail: [email protected]
http://www.itgrp.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.