[OpenSIPS-Devel] [OpenSIPS/opensips] 0b55ca: usrloc: Fix some incorrect startup checks
Liviu Chircu
noreply at github.com
Wed Sep 25 12:26:39 EDT 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 0b55ca32e74ec5d9b488de3226ba7ffe1d387764
https://github.com/OpenSIPS/opensips/commit/0b55ca32e74ec5d9b488de3226ba7ffe1d387764
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-09-25 (Wed, 25 Sep 2019)
Changed paths:
M modules/usrloc/ul_mod.c
Log Message:
-----------
usrloc: Fix some incorrect startup checks
On some misconfigured scripts (e.g. DB usrloc + db_url modparam, but
without any SQL DB module loaded), the module would report some strange
errors, instead of the more intuitive:
WARNING:core:solve_module_dependencies: module usrloc depends on an
sqldb module due to modparam working_mode_preset, but none was loaded!
ERROR:core:main: failed to solve module dependencies
Thanks to Vlad Pătrașcu for the catch!
More information about the Devel
mailing list