Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print cause of exception. #40

Merged
merged 1 commit into from
Jun 23, 2024
Merged

Print cause of exception. #40

merged 1 commit into from
Jun 23, 2024

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Jun 23, 2024

Before:

🔥 Errored assertions:
describe Async::HTTP::Internet it can fetch remote website when given custom endpoint instead of url test/async/http/internet.rb:37
	⚠ NoMethodError: undefined method `close' for nil
		test/async/http/internet.rb:48 ensure in block (3 levels) in <top (required)>
		test/async/http/internet.rb:48 block (3 levels) in <top (required)>

After:

🔥 Errored assertions:
describe Async::HTTP::Internet it can fetch remote website when given custom endpoint instead of url test/async/http/internet.rb:37
	⚠ NoMethodError: undefined method `close' for nil
		test/async/http/internet.rb:48 ensure in block (3 levels) in <top (required)>
		test/async/http/internet.rb:48 block (3 levels) in <top (required)>
	Caused by NoMethodError: undefined method `get' for class Async::HTTP::Internet
		test/async/http/internet.rb:44 block (3 levels) in <top (required)>

@ioquatix ioquatix merged commit aebaf48 into main Jun 23, 2024
32 of 36 checks passed
@ioquatix ioquatix deleted the print-error-cause branch June 23, 2024 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant