Skip to content

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

Merged
merged 3 commits into from
Jul 31, 2020
Merged

Conversation

oakbani
Copy link
Contributor

@oakbani oakbani commented Jul 28, 2020

Summary

This revises a couple of logs in HttpProjectConfigManager.

Test plan

Issues

@oakbani oakbani requested a review from a team as a code owner July 28, 2020 12:20
@oakbani oakbani removed their assignment Jul 28, 2020
@coveralls
Copy link

coveralls commented Jul 28, 2020

Coverage Status

Coverage decreased (-0.007%) to 98.215% when pulling 553eeac on oakbani/revise-adf-log into 33336f4 on master.

Copy link
Contributor

@aliabbasrizvi aliabbasrizvi left a 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, [], '')
Copy link
Contributor

Choose a reason for hiding this comment

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

Indentation seems off.

Comment on lines 230 to 233
->setConstructorArgs(array(null, $this->url, null, false, DATAFILE, false,
$this->loggerMock, $this->errorHandlerMock))
->setMethods(array('handleResponse'))
->getMock();
Copy link
Contributor

Choose a reason for hiding this comment

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

Indentation seems off.

Comment on lines 247 to 248
->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."));
Copy link
Contributor

Choose a reason for hiding this comment

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

Indentation seems off.

@mikeproeng37 mikeproeng37 merged commit 67aa4cc into master Jul 31, 2020
@mikeproeng37 mikeproeng37 deleted the oakbani/revise-adf-log branch July 31, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants