-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-32208 Properly report Grafana LogAccess Config problem #18853
HPCC-32208 Properly report Grafana LogAccess Config problem #18853
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-32208 Jirabot Action Result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rpastrana looks good. One question.
catch(IException * e) | ||
{ | ||
StringBuffer description; | ||
IERRLOG("%s: datasource exception: (%d) - %s", COMPONENT_NAME, e->errorCode(), e->errorMessage(description).str()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an OERRLOG? Same for line 756?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the below definitions, yes, OERRLOG is correct.
- (ii) Messages for SysAdmins: *
-
OERRLOG([LogMsgCode,] format,..) - uses MCoperatorError *
-
*
- (iii) Messages for platform developers: *
-
IERRLOG([LogMsgCode,] format,..) - uses MCdebugError
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Please squash
- Tracks and reports invalid config issue - Routes config err messages to operators - Cleans up error message wording Signed-off-by: Rodrigo Pastrana <[email protected]>
753a1f9
to
b5d2a39
Compare
@ghalliday squashed |
Type of change:
Checklist:
Smoketest:
Testing: