diff --git a/ircd/db.cc b/ircd/db.cc index 8bbbe5a14..c4cdb94b2 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -235,15 +235,14 @@ 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; + throw; } void