Displaying 1 result from an estimated 1 matches for "syntf".
Did you mean:
synth
2006 Nov 02
2
Rescue don't work on web applications
...gt; database.
Than you can select a script to start via a database list.
Problem:
In case of errors , I like to start a rescue showing the users the
problems.
render(:text => "<pre>" + CGI::escapeHTML(`
begin
/home/luc/radrails/cpe/public/startq_test.rb #{syntf.path}
rescue
NoMethodError,SyntaxError,NameError,StandardError,SystemExit,ScriptError
=> snfault
fltlog = File.open("/test/result/script.log", "w")
fltlog.puts "#{snfault}"
fltlog.close
end
`) + "</pre&g...