ralphlange / procServ

Wrapper to start arbitrary interactive commands in the background, with telnet or Unix domain socket access to stdin/stdout
GNU General Public License v3.0
23 stars 23 forks source link

Cryptic error message #53

Open dirk-zimoch opened 3 years ago

dirk-zimoch commented 3 years ago

Some error messages can be so cryptic:

Caught an exception creating the initial control telnet port: Bad file descriptor
/usr/local/bin/procServ: Exiting with error code: 98

What it really means:

Port xxxx already in use
dirk-zimoch commented 3 years ago

Rule number one for error messages: Don't tell the user where the program could not continue (as the user does not know the internals of the program). Instead give the user a hint how to solve the problem.