mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
crypto/machine: log when loading olm account
This commit is contained in:
parent
22a908d8d6
commit
faa1c5ff8d
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue