-
Notifications
You must be signed in to change notification settings - Fork 30
refact: Revise ADF log more actionable #208
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
Conversation
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.
Need to fix indentation. Change looks good.
->getMock(); | ||
|
||
$mock = new MockHandler([ | ||
new Response(307, [], '') |
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.
Indentation seems off.
->setConstructorArgs(array(null, $this->url, null, false, DATAFILE, false, | ||
$this->loggerMock, $this->errorHandlerMock)) | ||
->setMethods(array('handleResponse')) | ||
->getMock(); |
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.
Indentation seems off.
->method('log') | ||
->with(Logger::ERROR, sprintf("Unexpected response when trying to fetch datafile, status code: 307. Please check your SDK key and/or datafile access token.")); |
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.
Indentation seems off.
Summary
This revises a couple of logs in HttpProjectConfigManager.
Test plan
Issues