mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-20 16:00:17 +00:00
fix: security scanner warning noise: error handlers part 1 (#2141)
first group of error handlers to reduce security scanner warning noise level Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
@ -239,7 +239,10 @@ func (app *App) updateUI() {
|
||||
task := Task{Description: inputField.GetText()}
|
||||
app.tasks = append(app.tasks, task)
|
||||
app.state = StateRoot
|
||||
postTasksToExternalService([]Task{task})
|
||||
err := postTasksToExternalService([]Task{task})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
app.updateUI()
|
||||
})
|
||||
|
Reference in New Issue
Block a user