-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with existing file path in log_directory
(Version: 2.1.1)
#1326
Comments
Verified the case for file path with Permission issue but Clio handled and threw an exception. Please verify the above case too before closing the issue. |
log_directory
(Version: 2.1.1)
This is not a crash - the same happens on any other misconfiguration. Clio detects it, logs and exits cleanly. |
If the error is legitimately The ownership of the directories will depend on which user initially ran |
@legleux yes but there is slightly more to it than i thought originally. We do treat the permission error correctly but then some other exception happens when shutting down the rest of Clio and that is what produces the trace. While the first part is expected, the second part is certainly not! But we also have other issues in the pipeline that meant to battle similar problems (at least #442 is related). |
Issue Description
If an existing file path is added in "log_directory" of Clio config and start running Clio then Clio is throwing an exception and then crashing.
Steps to Reproduce
enable "log_directory" in Clio config with the path of an existing file
Expected Result
Throw an exception and stop running Clio
Actual Result
Throw an exception and then Clio is crashing
Environment
Reproducible in linux and Mac irrespective of Clio version.
Supporting Files
The text was updated successfully, but these errors were encountered: