1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 15:07:53 +02:00

fix(regression): fetch promise rejections not handled

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-05-07 22:44:25 +01:00
parent 4247e54c64
commit 3accdc322c
2 changed files with 6 additions and 0 deletions

View File

@@ -93,6 +93,9 @@
button.textContent = 'Install Flarum'; button.textContent = 'Install Flarum';
}); });
} }
})
.catch(error => {
console.error('Error:', error);
}); });
return false; return false;

View File

@@ -44,6 +44,9 @@
button.textContent = 'Update Flarum'; button.textContent = 'Update Flarum';
}); });
} }
})
.catch(error => {
console.error('Error:', error);
}); });
return false; return false;