print more dbus errors in verbose mode only
This commit is contained in:
		
							parent
							
								
									8e4d7996b9
								
							
						
					
					
						commit
						02fc0a86c3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -57,10 +57,10 @@ def notify(event_type, jid, account, msg_type = '', file_props = None):
 | 
				
			||||||
			return
 | 
								return
 | 
				
			||||||
		except dbus.dbus_bindings.DBusException, e:
 | 
							except dbus.dbus_bindings.DBusException, e:
 | 
				
			||||||
			# Connection to DBus failed, try popup
 | 
								# Connection to DBus failed, try popup
 | 
				
			||||||
			print >> sys.stderr, e
 | 
								gajim.log.debug(str(e))
 | 
				
			||||||
		except TypeError, e:
 | 
							except TypeError, e:
 | 
				
			||||||
			# This means that we sent the message incorrectly
 | 
								# This means that we sent the message incorrectly
 | 
				
			||||||
			print >> sys.stderr, e
 | 
								gajim.log.debug(str(e))
 | 
				
			||||||
	instance = dialogs.PopupNotificationWindow(event_type, jid, account,
 | 
						instance = dialogs.PopupNotificationWindow(event_type, jid, account,
 | 
				
			||||||
		msg_type, file_props)
 | 
							msg_type, file_props)
 | 
				
			||||||
	gajim.interface.roster.popup_notification_windows.append(instance)
 | 
						gajim.interface.roster.popup_notification_windows.append(instance)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue