Drop the use of exceptions for fatal error handling.
[cumulus.git] / metadata.cc
index 8de1a00..e1ea1aa 100644 (file)
@@ -128,7 +128,7 @@ MetadataWriter::MetadataWriter(TarSegmentStore *store,
     if (statcache_out == NULL) {
         fprintf(stderr, "Error opening statcache %s: %m\n",
                 statcache_tmp_path.c_str());
-        throw IOException("Error opening statcache");
+        fatal("Error opening statcache");
     }
 
     old_metadata_eof = false;