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:
parent
3fd689931c
commit
d96ddae133
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue