Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Propose Softer Logging on First Deploy #89

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

bh2smith
Copy link
Member

On first deploy, there were some weird error logs that didn't make much sense:

Before

$ export AGENT_URL=somestuff.com
$ npx make-agent deploy -u $AGENT_URL
OpenAPI specification is valid.
[ERROR] Failed to update plugin: {"error":"Plugin not found. Please register the plugin first."}
Attempting to register plugin...
Plugin registered successfully

$ npx make-agent deploy -u $AGENT_URL
OpenAPI specification is valid.
Plugin updated successfully.

After

Logs should look like

OpenAPI specification is valid.
[WARN] Plugin with ID ${pluginId} not found/registered.
Attempting to register plugin...
Plugin registered successfully

@bh2smith bh2smith requested a review from GAllen98 February 11, 2025 16:46
@bh2smith bh2smith merged commit 93f6b99 into main Feb 11, 2025
2 checks passed
@bh2smith bh2smith deleted the deploy/invalid-error branch February 11, 2025 16:59
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants