multi: add persistent logger

This commit is contained in:
Oliver Gugger 2019-10-28 17:06:07 +01:00
parent 0d76d6e162
commit b574e344ea
No known key found for this signature in database
GPG key ID: 8E4256593F177720
18 changed files with 201 additions and 135 deletions

View file

@ -52,7 +52,7 @@ func TestLoopInSuccess(t *testing.T) {
go func() {
err := swap.execute(context.Background(), ctx.cfg, height)
if err != nil {
logger.Error(err)
log.Error(err)
}
errChan <- err
}()
@ -142,7 +142,7 @@ func TestLoopInTimeout(t *testing.T) {
go func() {
err := swap.execute(context.Background(), ctx.cfg, height)
if err != nil {
logger.Error(err)
log.Error(err)
}
errChan <- err
}()
@ -289,7 +289,7 @@ func testLoopInResume(t *testing.T, state loopdb.SwapState, expired bool) {
go func() {
err := swap.execute(context.Background(), ctx.cfg, height)
if err != nil {
logger.Error(err)
log.Error(err)
}
errChan <- err
}()