Adjust error handling for adding local group