mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:16 +00:00 
			
		
		
		
	Allow other Exceptions to bubble up a stack trace instead of silently failing in create_user.py
This commit is contained in:
		@@ -21,7 +21,7 @@ try:
 | 
			
		||||
        set_user_role,
 | 
			
		||||
        update_user,
 | 
			
		||||
    )
 | 
			
		||||
except Exception as e:
 | 
			
		||||
except ModuleNotFoundError as e:
 | 
			
		||||
    logging.error("No module 'wazuh' found.")
 | 
			
		||||
    sys.exit(1)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user