Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 4ed8a87

Browse files
committed
Force correct overload of log.Error method
1 parent 986dbee commit 4ed8a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.App/Services/ModelService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ IObservable<IEnumerable<AccountCacheItem>> GetUserOrganizations()
110110
// This could in theory happen if we try to call this before the user is logged in.
111111
e =>
112112
{
113-
log.Error("Retrieve user organizations failed because user is not stored in the cache.", e);
113+
log.Error("Retrieve user organizations failed because user is not stored in the cache.", (Exception)e);
114114
return Observable.Return(Enumerable.Empty<AccountCacheItem>());
115115
})
116116
.Catch<IEnumerable<AccountCacheItem>, Exception>(e =>

0 commit comments

Comments
 (0)