mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-22 15:18:02 +00:00
Made harsh loading/error experience friendlier
This commit is contained in:
@ -28,8 +28,8 @@ func (a *App) InsertItems(hostKey, dbKey, collKey, jsonData string) interface{}
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
defer close()
|
||||
|
||||
res, err := client.Database(dbKey).Collection(collKey).InsertMany(ctx, data)
|
||||
if err != nil {
|
||||
runtime.LogWarning(a.ctx, "Encountered an error while performing insert:")
|
||||
|
Reference in New Issue
Block a user