diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-01-30 19:28:25 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-01-30 19:28:25 +0200 |
commit | 707982c203b1c8ee0655103e86e545f9e8a366c5 (patch) | |
tree | 7ae38c980f00297deb89abffc15bf4550d920845 /obnamlib/repo_interface.py | |
parent | 12dbaf9d303e8db239c61d1dd2c6b82b857cee0e (diff) | |
download | obnam-707982c203b1c8ee0655103e86e545f9e8a366c5.tar.gz |
Add filename to missing chunk error message
Diffstat (limited to 'obnamlib/repo_interface.py')
-rw-r--r-- | obnamlib/repo_interface.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py index c2621454..6b5c2a20 100644 --- a/obnamlib/repo_interface.py +++ b/obnamlib/repo_interface.py @@ -178,7 +178,10 @@ class RepositoryFileKeyNotAllowed(obnamlib.ObnamError): class RepositoryChunkDoesNotExist(obnamlib.ObnamError): - msg = "Repository doesn't contain chunk {chunk_id}" + msg = ( + "Repository doesn't contain chunk {chunk_id}. " + "It is expected at {filename}" + ) class RepositoryChunkContentNotInIndexes(obnamlib.ObnamError): |