diff --git a/framework/core/views/install/install.php b/framework/core/views/install/install.php index dd7a94c19..f28fea675 100644 --- a/framework/core/views/install/install.php +++ b/framework/core/views/install/install.php @@ -93,6 +93,9 @@ button.textContent = 'Install Flarum'; }); } + }) + .catch(error => { + console.error('Error:', error); }); return false; diff --git a/framework/core/views/install/update.php b/framework/core/views/install/update.php index da502caf8..1cbbc1639 100644 --- a/framework/core/views/install/update.php +++ b/framework/core/views/install/update.php @@ -44,6 +44,9 @@ button.textContent = 'Update Flarum'; }); } + }) + .catch(error => { + console.error('Error:', error); }); return false;