incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1133374 - /incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/exceptions.rb
Date Wed, 08 Jun 2011 12:39:49 GMT
Author: mfojtik
Date: Wed Jun  8 12:39:49 2011
New Revision: 1133374

URL: http://svn.apache.org/viewvc?rev=1133374&view=rev
Log:
Add 'details' to the accessors for DeltacloudException.

Otherwise the exception views (like 502.xml.haml) throw
errors when trying to access it.

Signed-off-by: Chris Lalancette <clalance@redhat.com>

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/exceptions.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/exceptions.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/exceptions.rb?rev=1133374&r1=1133373&r2=1133374&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/exceptions.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/exceptions.rb Wed Jun  8
12:39:49 2011
@@ -3,7 +3,7 @@ module Deltacloud
 
     class DeltacloudException < StandardError
 
-      attr_accessor :code, :name, :message, :backtrace, :request
+      attr_accessor :code, :name, :message, :backtrace, :request, :details
 
       def initialize(code, name, message, backtrace, details, request=nil)
         @code, @name, @message = code, name, message



Mime
View raw message