Scrub out the install path in the backtrace

git-svn-id: file:///home/svn/framework3/trunk@13314 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-07-23 07:03:27 +00:00
parent 05867ef6d0
commit f2426b6f33
1 changed files with 30 additions and 30 deletions

View File

@ -156,7 +156,7 @@ class Service
:error => true, :error => true,
:error_class => e.class.to_s, :error_class => e.class.to_s,
:error_string => e.to_s, :error_string => e.to_s,
:error_backtrace => e.backtrace :error_backtrace => e.backtrace.map{|x| x.gsub(/^.*lib\//, 'lib/'} # Dont expose the install path
} }
if e.respond_to?(:message) if e.respond_to?(:message)