Catch exceptions in cache_update()
Summary:
If updating the cache database fails for whatever reason, do not let the
exception fall through and cause the request to be rejected.
Fixes T6811.
Reviewers: mollekopf
Reviewed By: mollekopf
Maniphest Tasks: T6811
Differential Revision: https://git.kolab.org/D3343