forked from ungleich-public/cdist
		
	append type to error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								f76a5abf6f
							
						
					
				
			
			
				commit
				
					
						93db0b58d6
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -40,7 +40,7 @@ class IllegalObjectIdError(cdist.Error):
 | 
				
			||||||
        self.message = message or 'Illegal object id'
 | 
					        self.message = message or 'Illegal object id'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __str__(self):
 | 
					    def __str__(self):
 | 
				
			||||||
        return '%s: %s' % (self.message, os.path.join(self.type_name, self.object_id))
 | 
					        return '%s: type: %s, object_id: %s' % (self.message, self.type_name, self.object_id)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Object(object):
 | 
					class Object(object):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue