diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/services/route_way_cost_calculator.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/services/route_way_cost_calculator.rb b/app/services/route_way_cost_calculator.rb index 58f9ad1d0..ca47a6772 100644 --- a/app/services/route_way_cost_calculator.rb +++ b/app/services/route_way_cost_calculator.rb @@ -8,7 +8,7 @@ class RouteWayCostCalculator      way_costs = TomTom.matrix(way_costs)      way_costs = WayCostCollectionJSONSerializer.dump(way_costs)      @route.update(costs: way_costs) -  rescue TomTom::Matrix::RemoteError => e +  rescue TomTom::Errors::MatrixRemoteError => e      Rails.logger.error "TomTom::Matrix server error: #{e}"    end  end | 
