SteeltoeOSS / Steeltoe

.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
https://steeltoe.io
Apache License 2.0
1k stars 164 forks source link

Consul: don't log exception on termination #1372

Closed bart-vmware closed 19 hours ago

bart-vmware commented 1 day ago

Description

The exception contains no useful information. Logging it suggests something crashed, while this is expected behavior. I found this while running the FortuneTeller sample in a console application.

Quality checklist

bart-vmware commented 1 day ago

/azp run Steeltoe.All

azure-pipelines[bot] commented 1 day ago
Azure Pipelines successfully started running 1 pipeline(s).
sonarcloud[bot] commented 1 day ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud