Skip to content

Commit 0406bc8

Browse files
authored
Merge pull request #172 from matrix-org/feat/add-extra-error-details-to-client-error
Adapt to SDK changes in `ClientError`
2 parents 0ed8e4b + fae72ad commit 0406bc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/api/rust/session_delegate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func NewMemoryClientSessionDelegate() *MemoryClientSessionDelegate {
1515
func (d *MemoryClientSessionDelegate) RetrieveSessionFromKeychain(userID string) (matrix_sdk_ffi.Session, *matrix_sdk_ffi.ClientError) {
1616
s, exists := d.userIDToSession[userID]
1717
if !exists {
18-
return matrix_sdk_ffi.Session{}, matrix_sdk_ffi.NewClientErrorGeneric("Failed to find RestorationToken in the Keychain.")
18+
return matrix_sdk_ffi.Session{}, matrix_sdk_ffi.NewClientErrorGeneric("Failed to find RestorationToken in the Keychain.", nil)
1919
}
2020
return s, nil
2121
}

0 commit comments

Comments
 (0)