mirror of
https://github.com/flarum/framework.git
synced 2025-02-17 02:02:47 +08:00
fix(regression): fetch promise rejections not handled
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
4247e54c64
commit
3accdc322c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user