Skip to content

fix: ctx must be supplied to LogErrorAndReturn()#164

Merged
kyma-bot merged 1 commit intokyma-project:mainfrom
tmilos77:fix-logging-errors
Mar 27, 2024
Merged

fix: ctx must be supplied to LogErrorAndReturn()#164
kyma-bot merged 1 commit intokyma-project:mainfrom
tmilos77:fix-logging-errors

Conversation

@tmilos77
Copy link
Contributor

Description

Changes proposed in this pull request:

  • the ctx must be supplied to LogErrorAndReturn() otherwise whole loggining context is lost and not logged, like controller, group, kind, resource name, and everything else put into it that's helping going trough logs and tracing a single reconcilation loop

Related issue(s)

@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 27, 2024
Copy link
Contributor

@abalaie abalaie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kyma-bot kyma-bot added the lgtm Looks good to me! label Mar 27, 2024
@kyma-bot kyma-bot merged commit 9cc8fbd into kyma-project:main Mar 27, 2024
@tmilos77 tmilos77 deleted the fix-logging-errors branch March 28, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants