Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Remove fallback logger from the Client and rethrow the exception on failure#5

Merged
tomaszhanc merged 1 commit intoapp-insights-php:masterfrom
tomaszhanc:master
Jul 3, 2019
Merged

Remove fallback logger from the Client and rethrow the exception on failure#5
tomaszhanc merged 1 commit intoapp-insights-php:masterfrom
tomaszhanc:master

Conversation

@tomaszhanc
Copy link
Copy Markdown
Contributor

Client itself should not handle the exception. It can cache the logs but then it should rethrow the exception. Clients of TelemetryClient should do what they need to do when the exception occurs.

@tomaszhanc tomaszhanc merged commit 0d64845 into app-insights-php:master Jul 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants