Skip to content

Conversation

@vitkutny
Copy link

When @unserialize returns FALSE because of error method getUnserializedValue will return NULL and Nette\Caching\Cache::load will regenerate this record. Same for Throwable/Exception thrown from objects implementing \Serializable interface.

When `@unserialize` returns FALSE because of error method `getUnserializedValue` will return NULL and Nette\Caching\Cache::load will regenerate this record. Same for Throwable/Exception thrown from objects implementing \Serializable interface.
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.5%) to 76.552% when pulling c5ff903 on peckadesign:unserialize-error-handling into cbe29ee on Kdyby:master.

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.

2 participants