Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

TryGetService should not log an error when not found #904

Closed
FejZa opened this issue Nov 20, 2021 · 1 comment
Closed

TryGetService should not log an error when not found #904

FejZa opened this issue Nov 20, 2021 · 1 comment
Labels
Bug Something isn't working

Comments

@FejZa
Copy link
Contributor

FejZa commented Nov 20, 2021

XRTK - Mixed Reality Toolkit Bug Report

Describe the bug

TryGetService(..) should not log an error when the service is not found, compared to GetService. When using the try pattern, the developer is aware it might not exist and thus it not being there, is not an error.

@FejZa FejZa added the Bug Something isn't working label Nov 20, 2021
@FejZa
Copy link
Contributor Author

FejZa commented Nov 22, 2021

Closed, there is a parameter showLogs I wasn't aware of.

@FejZa FejZa closed this as completed Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant