print a debug message for invalid xml stanza
This commit is contained in:
		
							parent
							
								
									9dc8b315d8
								
							
						
					
					
						commit
						7f6ec376dc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -134,6 +134,7 @@ class Dispatcher(PlugIn): | |||
| 				return 0 | ||||
| 		except ExpatError: | ||||
| 			sys.exc_clear() | ||||
| 			self.DEBUG('Invalid XML received from server. Forcing disconnect.') | ||||
| 			self._owner.Connection.pollend() | ||||
| 			return 0 | ||||
| 		if len(self._pendingExceptions) > 0: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue