mirror of
https://github.com/anope/anope.git
synced 2026-07-08 02:03:13 +02:00
Log any startup error to the terminal.
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ int main(int ac, char **av, char **envp)
|
||||
}
|
||||
catch (const CoreException &ex)
|
||||
{
|
||||
Log() << ex.GetReason();
|
||||
Log(LOG_TERMINAL) << "Error: " << ex.GetReason();
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user