Issue Bug Closed

#41362connectDB() does not signal connection problems to scheduler

Andreas Lappe 09/25/12, 17:38 updated 08/20/14, 10:16

Description

I had the case that the credentials in localconf.php where dependent on an environment-variable. Not passing this variable to scheduler resulted in failing connections to the database (obviously) but the scheduler didn’t tell any problems except for the return code 1 instead of 0.

This could be easier…

The thrown exceptions do not show in the cli-environment, therefor a switch could be added to use a die($message) when in cli-mode.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.