diff --git a/web/kanban-users.js b/web/kanban-users.js index bc154b6..7b87281 100644 --- a/web/kanban-users.js +++ b/web/kanban-users.js @@ -39,7 +39,8 @@ function askMachine(again=false){ // Someone else on the machine is a question, not an error (Sentry DTF-WEB-1J). 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); + // Declined: the person stays on the chooser, nothing to say (Sentry DTF-WEB-1V). + if(e.status===409&&!confirm)return await ask('Outra pessoa está nesta máquina',e.message,'Continuar mesmo assim')?choose(id,true):undefined; // 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;}