mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Improve error message if rpc'l localcall() fails with unexpected
exception.
This commit is contained in:
		
							parent
							
								
									5c3df35b6b
								
							
						
					
					
						commit
						e852c194e3
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -199,7 +199,9 @@ def localcall(self, seq, request): | |||
|         except socket.error: | ||||
|             raise | ||||
|         except: | ||||
|             self.debug("localcall:EXCEPTION") | ||||
|             msg = "*** Internal Error: rpc.py:SocketIO.localcall()\n\n"\ | ||||
|                   " Object: %s \n Method: %s \n Args: %s\n" | ||||
|             print>>sys.__stderr__, msg % (oid, method, args) | ||||
|             traceback.print_exc(file=sys.__stderr__) | ||||
|             return ("EXCEPTION", None) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kurt B. Kaiser
						Kurt B. Kaiser