mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	target: Add exception message when module fails to load
Log the exception message when a target module fails to load.
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							728b59ad7e
						
					
				
				
					commit
					48329b7891
				
			@@ -1265,7 +1265,7 @@ fi
 | 
			
		||||
            try:
 | 
			
		||||
                mod.install(self, **params)
 | 
			
		||||
            except Exception as e:
 | 
			
		||||
                self.logger.error('Module "{}" failed to install on target'.format(name))
 | 
			
		||||
                self.logger.error('Module "{}" failed to install on target: {}'.format(name, e))
 | 
			
		||||
                raise
 | 
			
		||||
            self._installed_modules[name] = mod
 | 
			
		||||
            if name not in self.modules:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user