0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +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,14 +235,13 @@ try
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()
};
if(ircd::debugmode)
throw;
}