Skip to content

Commit

Permalink
Improve wording of error message
Browse files Browse the repository at this point in the history
Co-Authored-By: Josh Dover <[email protected]>
  • Loading branch information
sorenlouv and joshdover authored Nov 12, 2019
1 parent 3a843f2 commit 19a7520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legacy/server/http/version_check.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function setupVersionCheck(server, config) {

if (versionRequested && versionRequested !== actualVersion) {
throw badRequest(
`Browser client is out of date, please refresh the page (Header "${versionHeader}" was ${versionRequested} but should be ${actualVersion})`,
`Browser client is out of date, please refresh the page ("${versionHeader}" header was "${versionRequested}" but should be "${actualVersion}")`,
{
expected: actualVersion,
got: versionRequested,
Expand Down

0 comments on commit 19a7520

Please sign in to comment.