mirror of
https://github.com/flarum/core.git
synced 2025-08-02 22:47:33 +02:00
fix(regression): fetch promise rejections not handled
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
@@ -93,6 +93,9 @@
|
||||
button.textContent = 'Install Flarum';
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error:', error);
|
||||
});
|
||||
|
||||
return false;
|
||||
|
@@ -44,6 +44,9 @@
|
||||
button.textContent = 'Update Flarum';
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error:', error);
|
||||
});
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user