crypto/machine: log when loading olm account
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2025-09-10 16:46:05 +03:00
commit faa1c5ff8d

View file

@ -156,6 +156,10 @@ func (mach *OlmMachine) Load(ctx context.Context) (err error) {
if mach.account == nil {
mach.account = NewOlmAccount()
}
zerolog.Ctx(ctx).Debug().
Str("machine_ptr", fmt.Sprintf("%p", mach)).
Str("account_ptr", fmt.Sprintf("%p", mach.account.Internal)).
Msg("Loaded olm account")
return nil
}