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

Add log info if value is not found. #103

Closed
sailorlqh opened this issue May 23, 2023 · 1 comment
Closed

Add log info if value is not found. #103

sailorlqh opened this issue May 23, 2023 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@sailorlqh
Copy link
Contributor

Context: https://github.com/abcxyz/pmap/blob/main/pkg/server/event_handler.go#L342-L364

@qiaoweiz
Copy link
Contributor

Context: https://github.com/abcxyz/pmap/blob/main/pkg/server/event_handler.go#L342-L364

Hi @sailorlqh , I want to double check with the requirement.
do you only want to log when the value is not found?
or to log error and return nil (follow the same path as https://screenshot.googleplex.com/JYW5jdoDpqD3HwZ)?

qiaoweiz added a commit that referenced this issue Jun 27, 2023
* logger

* Add log info if value is not found.

* remove unused logger

* Revert changes about error return

* Update log info & add a test about githubSource not found

* update test name & info log

* Add a comment for unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Development

No branches or pull requests

4 participants