projects
/
elisp
/
riece.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090ef14
)
Cut the first line of stack trace.
author
ueno
<ueno>
Thu, 11 Aug 2005 07:43:35 +0000
(07:43 +0000)
committer
ueno
<ueno>
Thu, 11 Aug 2005 07:43:35 +0000
(07:43 +0000)
lisp/server.rb
patch
|
blob
|
history
diff --git
a/lisp/server.rb
b/lisp/server.rb
index
ddd5d2e
..
903e933
100644
(file)
--- 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