mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
Don't swallow errors once they've been popped up
This commit is contained in:
parent
6d68275ef9
commit
3ddc33b07c
@ -55,4 +55,8 @@ export function throwAjaxError(undoCallback) {
|
||||
|
||||
export function popupAjaxError(error) {
|
||||
bootbox.alert(extractError(error));
|
||||
|
||||
error._discourse_displayed = true;
|
||||
// We re-throw in a catch to not swallow the exception
|
||||
throw error;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user