Skip to content

Commit 6bd543d

Browse files
committed
Update tests for generator change
1 parent b76d59f commit 6bd543d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/integration/rails/generators/graphql/install_generator_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ def execute
239239
}
240240
result = DummySchema.execute(query, variables: variables, context: context, operation_name: operation_name)
241241
render json: result
242-
rescue => e
242+
rescue StandardError => e
243243
raise e unless Rails.env.development?
244-
handle_error_in_development e
244+
handle_error_in_development(e)
245245
end
246246
247247
private

0 commit comments

Comments
 (0)