Skip to content

Commit

Permalink
Summary:
Browse files Browse the repository at this point in the history
Make certifate date notif less wordy.

Mulitple people have posted screen shots of this error in flipper support, the fix is right there but its probably lost in the prose, this message is more succient and to the point

this is how it looked before, it already has the error type in the title so just need the fix in the body
{F1797539480}

Reviewed By: antonk52

Differential Revision: D61012130

fbshipit-source-id: dd6f70d8b7d4d4634dd168f320fc78a459ffbd8a
  • Loading branch information
Luke De Feo authored and facebook-github-bot committed Aug 12, 2024
1 parent 774a3c9 commit 657e5b7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,7 @@ abstract class ServerWebSocketBase {
console.info(`[conn] CSR created at`, requestDate.toISOString());
if (!isSameDay(requestDate)) {
throw new Error(
`The certificate request being processed was generated on a different date than the current system date.
This discrepancy can lead to certificate verification errors.
To resolve this issue, please ensure that the device's date and time settings match the system's current date and time.`,
`Please ensure that the device's date and time settings are correct`,
);
}
}
Expand Down

0 comments on commit 657e5b7

Please sign in to comment.