#1719 mod_admin_socket: confusing error when socket can't be created
What steps will reproduce the problem?
1. Set admin_socket to a non-existent path
2. Start Prosody
What is the expected output?
Prosody should clearly state that the admin socket could not be created, and the reason why.
What do you see instead?
This log line:
> modulemanager error Error initializing module 'admin_socket' on '*': plugins/mod_admin_socket.lua:56: No such file or directory
It makes it appear at first glance that mod_admin_socket.lua is the file that cannot be found. But the error actually applies to the admin socket creation.
What version of the product are you using? On what operating system?
Prosody 0.12.0 on Debian 11