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

Commit 9ecdd2c

Browse files
authored
Make exception message even friendlier
1 parent d9b5c69 commit 9ecdd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.InlineReviews/Services/PullRequestSessionService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public async Task<string> GetPullRequestMergeBase(ILocalRepositoryModel reposito
132132
}
133133
catch (NotFoundException ex)
134134
{
135-
throw new NotFoundException("Couldn't find merge base. Please check your network connection and try again.", ex);
135+
throw new NotFoundException("The Pull Request failed to load. Please check your network connection and click refresh to try again.", ex);
136136
}
137137

138138
return mergeBaseCache[key] = mergeBase;

0 commit comments

Comments
 (0)