mirror of
				https://github.com/clearml/clearml-agent
				synced 2025-06-26 18:16:15 +00:00 
			
		
		
		
	Add better debug logging when task session creation fails
This commit is contained in:
		
							parent
							
								
									553c72e06a
								
							
						
					
					
						commit
						8d8dc4e396
					
				| @ -1391,6 +1391,10 @@ class Worker(ServiceCommandSection): | |||||||
|                 headers=headers |                 headers=headers | ||||||
|             ) |             ) | ||||||
|             if not (result.ok() and result.response): |             if not (result.ok() and result.response): | ||||||
|  |                 try: | ||||||
|  |                     self.log.debug("Failed creating task session: %s", result.response) | ||||||
|  |                 except: | ||||||
|  |                     pass | ||||||
|                 return |                 return | ||||||
|             new_session = copy(session) |             new_session = copy(session) | ||||||
|             new_session.config = deepcopy(session.config) |             new_session.config = deepcopy(session.config) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 clearml
						clearml