Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
fix(BUX-250): handle missing paymail error (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 authored and arkadiuszos4chain committed Nov 13, 2023
1 parent d4380d5 commit 70e0f74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paymail_service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ func (p *PaymailDefaultServiceProvider) createPaymailInformation(ctx context.Con
paymailAddress, err = getPaymailAddress(ctx, alias+"@"+domain, opts...)
if err != nil {
return nil, nil, err
} else if paymailAddress == nil {
return nil, nil, ErrMissingPaymail
}

unlock, err := newWaitWriteLock(ctx, lockKey(paymailAddress), p.client.Cachestore())
Expand Down

0 comments on commit 70e0f74

Please sign in to comment.