diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-04-05 16:25:47 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-04-05 16:25:47 +0000 |
commit | 97e39fcb6418a5b1d5254ebb1059df796db21701 (patch) | |
tree | 72b80f2e1189b88faddce85b8a0c1f097b69c8d6 /actionwebservice/lib | |
parent | 9b42cd8cc1d52e5a8d80b67b17e5887c15e90904 (diff) | |
download | rails-97e39fcb6418a5b1d5254ebb1059df796db21701.tar.gz rails-97e39fcb6418a5b1d5254ebb1059df796db21701.tar.bz2 rails-97e39fcb6418a5b1d5254ebb1059df796db21701.zip |
make XMLRPC::FaultException have a #message, otherwise the thrown exception
is useless in functional test backtraces
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib')
-rw-r--r-- | actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb b/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb index ed7ba5c512..af3c1a49f6 100644 --- a/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +++ b/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb @@ -1,5 +1,9 @@ require 'xmlrpc/marshal' +class XMLRPC::FaultException + alias :message :faultString +end + module ActionWebService # :nodoc: module Protocol # :nodoc: module XmlRpc # :nodoc: |