]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: Correct error handling for unconstructible storage backend
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Nov 2021 16:00:34 +0000 (17:00 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Nov 2021 19:05:36 +0000 (20:05 +0100)
commit5cdeeb3184b11651b631e4ffa890c30621c2a605
treeb9d141aa4e14fe11f0be72096664f01973eefcf9
parent0d9131f26fb1e65add21666630a571c583b9516f
fix: Correct error handling for unconstructible storage backend

This fixes a crash when using a secondary storage backend that throws on
construction, for instance the Redis backend with an unreachable server.

Closes #966.
src/storage/Storage.cpp
test/suites/secondary_redis.bash