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

Commit d9b5c69

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.App/Services/PullRequestService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public IObservable<string> ExtractFile(
321321
}
322322
catch (NotFoundException ex)
323323
{
324-
throw new NotFoundException($"Couldn't find merge base. Please check your network connection and try again.", ex);
324+
throw new NotFoundException($"The Pull Request file failed to load. Please check your network connection and click refresh to try again.", ex);
325325
}
326326
}
327327

@@ -552,4 +552,4 @@ static Tuple<string, int> ParseGHfVSConfigKeyValue(string value)
552552
return null;
553553
}
554554
}
555-
}
555+
}

0 commit comments

Comments
 (0)