Skip to content

datadog first submitlog throws error on vscode extension #2468

@shakedbuk57

Description

@shakedbuk57

when using api client v1 on a vscode-extension, the firsts invoke to .submitLog throws:
"CANNOT use API proposal: extensionRuntime.
Its package.json#enabledApiProposals-property declares: [] but NOT extensionRuntime.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api AutonomyAI.autonomy-ai
Label the issue properly."
on the first log

i assume the client does something on inital call that trigger this secutiry flag ? if so, could it be disableD?

To Reproduce
"@datadog/datadog-api-client": "^1.25.0",
VSCode Version: 1.96.2
node 20 lts

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions