aboutsummaryrefslogtreecommitdiff
path: root/src/render.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-20 17:04:45 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-20 17:04:45 +0100
commit087580b3c269dbc5b2298ff6f4590f010279d339 (patch)
treef0fb223ab5be75847ea35e16efacc6f2db5df475 /src/render.rs
parent89c2ac305967ba03ef9b704e621ff0ff886ca308 (diff)
downloadkondou-087580b3c269dbc5b2298ff6f4590f010279d339.tar.gz
kondou-087580b3c269dbc5b2298ff6f4590f010279d339.tar.bz2
kondou-087580b3c269dbc5b2298ff6f4590f010279d339.zip
don't error when cache value can't be deserialized
The cache is meant to help out by saving old responses. If those responses do not conform anymore to an updated struct definition, the whole application should not crash. Instead, the value is silently ignored and then overwritten by the proper value that has been fetched from the API. That way, users don't have to manually clear out the cache if a new API schema or new features are released.
Diffstat (limited to 'src/render.rs')
0 files changed, 0 insertions, 0 deletions