Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f4b694

Browse files
chore: warn on app creation error
1 parent56ff0fb commit6f4b694

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎agent/agentcontainers/subagent.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,15 @@ func (a *subAgentAPIClient) Create(ctx context.Context, agent SubAgent) (SubAgen
233233
iferr!=nil {
234234
returnSubAgent{},err
235235
}
236+
for_,appError:=rangeresp.AppCreationErrors {
237+
app:=apps[appError.Index]
238+
239+
a.logger.Warn(ctx,"unable to create app",
240+
slog.F("app_slug",app.Slug),
241+
slog.F("field",appError.GetField()),
242+
slog.F("error",appError.GetError()),
243+
)
244+
}
236245

237246
agent.Name=resp.Agent.Name
238247
agent.ID,err=uuid.FromBytes(resp.Agent.Id)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp