Commit b9935e98 authored by olivier.salaun's avatar olivier.salaun
Browse files

[-change]added precise log message for custom attributes parsing errors


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@7221 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 67798b2c
......@@ -5669,6 +5669,9 @@ sub get_next_list_member {
if (defined $user->{custom_attribute}) {
&Log::do_log('debug2', '1. custom_attribute = (%s)', $user->{custom_attribute});
my %custom_attr = &parseCustomAttribute($user->{'custom_attribute'});
unless (%custom_attr) {
&Log::do_log('err',"Failed to parse custom attributes for user %s, list %s", $user->{'email'}, $self->get_list_id());
}
$user->{'custom_attribute'} = \%custom_attr ;
&Log::do_log('debug2', '2. custom_attribute = (%s)', %custom_attr);
&Log::do_log('debug2', '3. custom_attribute = (%s)', $user->{custom_attribute});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment