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

Also log exception for failed appstore request #7660

Merged
merged 1 commit into from
Jan 2, 2018
Merged

Conversation

MorrisJobke
Copy link
Member

Follow up to #7646

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@@ -170,7 +171,7 @@ public function get() {
$file->putContent(json_encode($responseJson));
return json_decode($file->getContent(), true)['data'];
} catch (ConnectException $e) {
$this->logger->info('Could not connect to appstore', ['app' => 'appstoreFetcher']);
$this->logger->logException($e, ['app' => 'appstoreFetcher', 'level' => Util::INFO, 'message' => 'Could not connect to appstore']);
Copy link
Member

Choose a reason for hiding this comment

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

Ah well fine by me. I just figured the exception was not of that much interest since almost always it is out of the instance control anyway. But sure...

@MorrisJobke MorrisJobke mentioned this pull request Jan 2, 2018
30 tasks
@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jan 2, 2018
@MorrisJobke MorrisJobke merged commit d97341d into master Jan 2, 2018
@MorrisJobke MorrisJobke deleted the fix-7646 branch January 2, 2018 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants