aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlater4
1 files changed, 2 insertions, 2 deletions
diff --git a/later b/later
index 3d43578..417e9f3 100755
--- a/later
+++ b/later
@@ -74,7 +74,7 @@ class TitleMap:
# Clobber the title cache if it was corrupted
self.commit_to_disk = True
except Exception as err:
- sys.exit(f"later: {err}")
+ sys.exit(f"later: cannot read title cache: {err}")
def get(self, key):
title = self.map.get(key)
@@ -122,7 +122,7 @@ class TitleMap:
with open(self.path, "w") as handle:
json.dump(self.map, handle)
except OSError as err:
- sys.exit(f"later: {err}")
+ sys.exit(f"later: cannot write title cache: {err}")
def entries():