gmo / common

MIT License
0 stars 0 forks source link

Added SafeCache and SafeSimpleCache #7

Closed CarsonF closed 7 years ago

CarsonF commented 7 years ago

These wrap their respective interfaces and swallow / log all runtime exceptions.

We currently have this in GodLife for Doctrine. Currently it's only used for device detection cache. We were having problems with Redis throwing errors, and since it was just to speed up processing we were ok to continue with out the cache layer.

Happy to talk through whether this is needed or another way to solve this problem. Maybe it's not needed with Symfony's implementation?