mirror of https://github.com/nymea/nymea.git
Fix timer if something goes wrong with report generation
parent
384544ca15
commit
706a947113
|
|
@ -151,6 +151,7 @@ function generateReport() {
|
|||
|
||||
if (reportGenerateRequest.status != 200) {
|
||||
console.log("Report generation finished with error.");
|
||||
clearTimeout(generateReportTimer);
|
||||
textArea.value = "Something went wrong :(";
|
||||
button.disabled = false;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue