Commit 93f6b99
authored
Propose Softer Logging on First Deploy (#89)
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
```1 parent a822cf7 commit 93f6b99
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| |||
0 commit comments