Skip to content

Commit 407d684

Browse files
Job ACLs add job without owner error to jobs log (not only ACL)
1 parent d093eb8 commit 407d684

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dbclient/JobsClient.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ def log_job_configs(self, users_list=None, groups_list = None, log_file='jobs.lo
147147
logging_utils.log_response_error(acl_error_logger, {
148148
'error': message
149149
})
150+
logging_utils.log_response_error(error_logger, {
151+
'error': message, 'json': json.dumps(x)
152+
})
150153

151154
def import_job_configs(self, log_file='jobs.log', acl_file='acl_jobs.log', job_map_file='job_id_map.log'):
152155
jobs_log = self.get_export_dir() + log_file

0 commit comments

Comments
 (0)