mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06: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…
Reference in New Issue
Block a user