DataDog / dd-sdk-flutter

Flutter bindings and tools for utilizing Datadog Mobile SDKs
Apache License 2.0
41 stars 40 forks source link

fix: throw original error when ignore url is matched #590

Closed ronnnnn closed 2 months ago

ronnnnn commented 2 months ago

What and why?

Fixes #589 Related PR #517

DatadogTrackingHttpClient throws original errors even if request URL is matched to ignoreUrlPatterns.

How?

Not call stopResourceWithErrorInfo when rumKey is null because rumKey is always null when request URL is matched to ignoreUrlPatterns. DatadogClient already does but DatadogTrackingHttpClient doesn't.

Review checklist