error message in argonaut tools should not send critical data to the console
Hello,
the error message in argonaut are to verbose sometime getting critical data to the console
for exemple in argonaut-server
Uncaught exception from user code: This computer (192.168.10.246) is not configured in LDAP to run this module (missing service argonautServer). at /usr/share/perl5/Argonaut/Libraries/Common.pm line 742. at /usr/share/perl5/Argonaut/Libraries/Common.pm line 742 Argonaut::Libraries::Common::argonaut_get_generic_settings('argonautServer', 'HASH(0x11b0bd8)', '/etc/ldap/ldap.conf', '', '', 192.168.10.246) called at /usr/share/perl5/Argonaut/Libraries/Common.pm line 757 Argonaut::Libraries::Common::argonaut_get_server_settings('/etc/ldap/ldap.conf', '', '', 192.168.10.246) called at /usr/sbin/argonaut-server line 110 main::readLdapConfig() called at /usr/sbin/argonaut-server line 97 main::readConfig() called at /usr/sbin/argonaut-server line 71
in this case i only want this
This computer (192.168.10.246) is not configured in LDAP to run this module (missing service argonautServer)
and the Uncaught exception from user code is rather scary
in argonaut-repository its better but i still have the error + at /usr/share/perl5/Argonaut/Libraries/Common.pm line 742.
Cheers
(from redmine: issue id 2973, created on 2014-02-06, closed on 2014-06-02)
- Changesets:
- Revision 8d052624 by Côme Chilliet on 2014-02-06T09:13:18.000Z:
Fixes: #2973 Less verbose dies