fix: choosing the machine with no network is a warning to try again, not an error (DTF-WEB-1Q)
All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 6m57s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m8s
All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 6m57s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m8s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -40,6 +40,9 @@ function askMachine(again=false){
|
||||
try{await api('/me/machine',{machine_id:id,confirm},{expected:confirm?[]:[409]});m.close();await load(true);}
|
||||
catch(e){
|
||||
if(e.status===409&&!confirm&&await ask('Outra pessoa está nesta máquina',e.message,'Continuar mesmo assim'))return choose(id,true);
|
||||
// No network (an iPhone between Wi-Fi and data, Sentry DTF-WEB-1Q): a
|
||||
// warning to try again, not an error; load() reports one that lasts.
|
||||
if(e.offline){say('Sem conexão com o servidor. Confira a internet e escolha a máquina de novo.');return;}
|
||||
say(e.message,true);}};
|
||||
// Each machine with what it is printing, and who is on it now.
|
||||
const list=node('div',undefined,'mchoices');
|
||||
|
||||
Reference in New Issue
Block a user