Index: openacs-4/packages/acs-authentication/tcl/sync-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-authentication/tcl/sync-procs.tcl,v diff -u -r1.39 -r1.40 --- openacs-4/packages/acs-authentication/tcl/sync-procs.tcl 29 Dec 2017 11:22:07 -0000 1.39 +++ openacs-4/packages/acs-authentication/tcl/sync-procs.tcl 5 Jan 2018 14:25:12 -0000 1.40 @@ -540,11 +540,18 @@ set authority_id [acs_user::get_element -user_id $user_id -element authority_id] } + # + # Try to sync. Many authorities do no support auth_sync_process, + # but these will issue an exception below. + # + # TODO: using a different error-code could make the code saver, by + # just ingnoring such cases. + # set elms [list] ad_try { set elms [auth::sync::GetElements -authority_id $authority_id] - } on error {errorMsg} { - ad_log error "auth::sync::GetElements raised: $errorMsg" + } on error {errorMsg dict} { + ad_log error "auth::sync::GetElements raised: $errorMsg ($dict)" } return $elms