From e5c91f4adfbb6b3fc530d9042822053d580701c7 Mon Sep 17 00:00:00 2001 From: ueno Date: Thu, 11 Aug 2005 07:43:35 +0000 Subject: [PATCH] Cut the first line of stack trace. --- lisp/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/server.rb b/lisp/server.rb index ddd5d2e..903e933 100644 --- a/lisp/server.rb +++ b/lisp/server.rb @@ -80,7 +80,7 @@ class Server Thread.current[:rubyserv_response] = eval(r, B.module_eval('binding()')) rescue Exception => e Thread.current[:rubyserv_error] = true - Thread.current[:rubyserv_response] = e + Thread.current[:rubyserv_response] = e.to_s.sub(/\A.*?\n/, '') end puts("# exit #{name}\r\n") end -- 1.7.10.4