Closed ianballou closed 6 years ago
Poked at this a little bit, this should be a simple matter of catching IOError
specifically in the cli and handling it. we'll want to wait until #969 is merged though, since it will likely cause conflicts.
It could still crash if the directory can't be accessed. The config check in #966 will only check for malformed directories, not if they exist or not. I do think configuring logging after validating the config file is a good idea though.
Fixed by #966
If
log_dir
is set to something inappropriate, the server will crash an reportUnexpected error:
. This error should report something more useful to the user. After this is fixed, perhaps it could be added to the config precheck (#966)