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:
@@ -93,6 +93,9 @@
|
|||||||
button.textContent = 'Install Flarum';
|
button.textContent = 'Install Flarum';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
console.error('Error:', error);
|
||||||
});
|
});
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@@ -44,6 +44,9 @@
|
|||||||
button.textContent = 'Update Flarum';
|
button.textContent = 'Update Flarum';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
console.error('Error:', error);
|
||||||
});
|
});
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user