0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-19 00:10:59 +01:00

ircd::db: Propagate all errors from db::init_directory().

This commit is contained in:
Jason Volk 2018-12-15 19:50:15 -08:00
parent 3fd689931c
commit d96ddae133

View file

@ -235,15 +235,14 @@ try
log, "Using database directory at `%s'", dbdir log, "Using database directory at `%s'", dbdir
}; };
} }
catch(const std::system_error &e) catch(const fs::error &e)
{ {
log::error log::critical
{ {
log, "Cannot start database system: %s", e.what() log, "Cannot start database system: %s", e.what()
}; };
if(ircd::debugmode) throw;
throw;
} }
void void