Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Cache] Handle and log errors properly #17530

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 1 commit into from
Jan 26, 2016
Merged

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Best viewed ignoring white-spaces:
https://github.com/symfony/symfony/pull/17530/files?w=1

@@ -225,9 +279,9 @@ public function saveDeferred(CacheItemInterface $item)
try {
$item = clone $item;
} catch (\Exception $e) {
@trigger_error($e->__toString());

return false;
Copy link
Member Author

Choose a reason for hiding this comment

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

returning false here wasn't psr-6 compliant

@fabpot
Copy link
Member

fabpot commented Jan 26, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit d21fab0 into symfony:master Jan 26, 2016
fabpot added a commit that referenced this pull request Jan 26, 2016
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Cache] Handle and log errors properly

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Best viewed ignoring white-spaces:
https://github.com/symfony/symfony/pull/17530/files?w=1

Commits
-------

d21fab0 [Cache] Handle and log errors properly
@nicolas-grekas nicolas-grekas deleted the cache branch January 26, 2016 13:02
@fabpot fabpot mentioned this pull request May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants