Scrub out the install path in the backtrace
git-svn-id: file:///home/svn/framework3/trunk@13314 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
05867ef6d0
commit
f2426b6f33
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue