File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,9 @@ func (kpr *KeyperCore) handleOnChainKeyperSetChanges(
289
289
return err
290
290
}
291
291
if lastSent == keyperSet .KeyperConfigIndex {
292
+ log .Debug ().
293
+ Int64 ("keyper-config-index" , keyperSet .KeyperConfigIndex ).
294
+ Msg ("batch config already sent (scheduled)." )
292
295
return nil
293
296
}
294
297
@@ -309,6 +312,10 @@ func (kpr *KeyperCore) handleOnChainKeyperSetChanges(
309
312
310
313
err = q .SetLastBatchConfigSent (ctx , keyperSet .KeyperConfigIndex )
311
314
if err != nil {
315
+ log .Warn ().Err (err ).
316
+ Interface ("keyper-set" , keyperSet ).
317
+ Int64 ("keyper-config-index" , keyperSet .KeyperConfigIndex ).
318
+ Msg ("error when setting last batch config sent. Returning nil." )
312
319
return nil
313
320
}
314
321
You can’t perform that action at this time.
0 commit comments