lib/eco/api/usecases/graphql/samples/location/command/results.rb in eco-helpers-3.0.6 vs lib/eco/api/usecases/graphql/samples/location/command/results.rb in eco-helpers-3.0.7
- old
+ new
@@ -1,16 +1,10 @@
class Eco::API::UseCases::GraphQL::Samples::Location
# Logic to: Track-down results and errors
module Command::Results
include Eco::API::UseCases::GraphQL::Helpers::Base::CaseEnv
- attr_accessor :error, :exception
-
- def rescued
- yield
- rescue StandardError => e
- log(:error) { self.exception ||= e.patch_full_message }
- end
+ attr_accessor :error
def request_results_class
Eco::API::UseCases::GraphQL::Helpers::Location::Command::Results
end