Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: notch8/palni-palci
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2d14a625eac9d25c269a0012beb428a8a7773ba2
Choose a base ref
..
head repository: notch8/palni-palci
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f7632fcb2c1ac1e3973bd0605369ee080412e081
Choose a head ref
Showing with 0 additions and 2 deletions.
  1. +0 −2 app/models/sushi.rb
2 changes: 0 additions & 2 deletions app/models/sushi.rb
Original file line number Diff line number Diff line change
@@ -202,9 +202,7 @@ def coerce_dates(params = {})
raise Sushi::Error::UsageNotReadyForRequestedDatesError.new(data: "Unable to complete the request because the end_date of #{params[:end_date]} is for a month that has incomplete data. That month's data ends on #{latest_date.iso8601}.")
# rubocop:enable Metrics/LineLength
end
# rubocop:disable Lint/ShadowedException
rescue ActionController::ParameterMissing, KeyError => e
# rubocop:enable Lint/ShadowedException
raise Sushi::Error::InsufficientInformationToProcessRequestError.new(data: e.message)
end
end