Skip to content

Add debug log to createPersonGroup method #14

@Alevale

Description

@Alevale

Feature Request

Add a debug log when createPersonGroup is called to track when the method is invoked.

Proposed Change

Add the following line at the start of the createPersonGroup method in index.js:

createPersonGroup({ personGroupId = this.personGroupId, name, userData, recognitionModel = this.recognitionModel }) {
    console.debug('[FaceApiTranslator] createPersonGroup called', { personGroupId, name, recognitionModel })

    const stringifiedData = typeof userData === 'string' ? userData : JSON.stringify(userData)
    // ... rest of method
}

Why

To help with debugging and confirming that the tool has been called during development/testing.


This issue was created based on the email request from Dec 8, 2025.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions