Skip to content

[chore] Add warning when ag.init() is called and API key is not set #3170

@mmabrouk

Description

@mmabrouk

Currently ag.init() can be called without setting an API key.

This results in a lot of bugs.

There is no case where ag.init() can work when the API key is not set.

ag.init() should print an error/warning when that is not the case (and not raise an exception since it should not break user code in any case)

Metadata

Metadata

Assignees

Labels

ChoreSDKdev experienceImprovement of the experience using the software. For instance better error messaginggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions