aboutsummaryrefslogtreecommitdiff
path: root/src/cachestorefiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachestorefiles.h')
-rw-r--r--src/cachestorefiles.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cachestorefiles.h b/src/cachestorefiles.h
index 0416f8b..6a80765 100644
--- a/src/cachestorefiles.h
+++ b/src/cachestorefiles.h
@@ -77,9 +77,9 @@ namespace Bu
77 obtype *pOb = __cacheStoreFilesLoad<keytype, obtype>( fIn, key ); 77 obtype *pOb = __cacheStoreFilesLoad<keytype, obtype>( fIn, key );
78 return pOb; 78 return pOb;
79 } 79 }
80 catch(...) 80 catch( std::exception &e )
81 { 81 {
82 throw Bu::HashException("File-key not found."); 82 throw Bu::HashException( e.what() );
83 } 83 }
84 } 84 }
85 85
@@ -158,6 +158,9 @@ namespace Bu
158 Bu::Formatter f( mb ); 158 Bu::Formatter f( mb );
159 try 159 try
160 { 160 {
161 Fmt fm;
162 fm.tokenize( false );
163 f << fm;
161 f >> tmp; 164 f >> tmp;
162 } 165 }
163 catch( Bu::ExceptionBase &e ) 166 catch( Bu::ExceptionBase &e )