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