fix(frontend): show lockdown message on error path when no stale data
When the backend returns 429+lockdown with no cached stale data to serve, the error section now shows the human-readable lockdown explanation instead of the raw "Sentinel marked this request as rejected." string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e4e0e52971
commit
40327c33b4
1 changed files with 4 additions and 1 deletions
|
|
@ -544,7 +544,10 @@ export default function ProductDetailPage() {
|
|||
>
|
||||
<div className="flex items-start gap-3 p-4 rounded-xl bg-red-500/8 border border-red-500/15 text-red-400 text-sm">
|
||||
<AlertTriangle size={15} className="flex-shrink-0 mt-0.5" />
|
||||
<span>{error}</span>
|
||||
<span>{isLockdown
|
||||
? 'Our server has been temporarily blocked by Microsoft and is in a 90-minute cooldown. Use the CLI to get your link instantly — it bypasses our server entirely.'
|
||||
: error
|
||||
}</span>
|
||||
</div>
|
||||
{selectedSku && (
|
||||
<CliHandoff
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue