Skip to content

Commit 7d22708

Browse files
committed
DR feedback
1 parent a7654d1 commit 7d22708

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

source/includes/get-started/quickstart.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
# Prints the movie document
2424
puts movie
2525

26-
client.close
27-
28-
rescue => e
29-
raise "Unable to find the document due to the following error: #{e}"
26+
ensure
27+
client&.close
3028
end
31-
#end-query
29+
# end-query

0 commit comments

Comments
 (0)