diff options
-rwxr-xr-x | later | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(): |