mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 05:31:27 +00:00
refactor error reporting to AppBase; keep exception_error() for now as a shim
This commit is contained in:
@@ -50,7 +50,7 @@ function exportData() {
|
||||
"Error occured, could not export data.";
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("exportData", e, transport.responseText);
|
||||
App.Error.report(e);
|
||||
}
|
||||
|
||||
Notify.close();
|
||||
@@ -71,7 +71,7 @@ function exportData() {
|
||||
|
||||
|
||||
} catch (e) {
|
||||
exception_error("exportData", e);
|
||||
App.Error.report(e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ function dataImportComplete(iframe) {
|
||||
dialog.show();
|
||||
|
||||
} catch (e) {
|
||||
exception_error("dataImportComplete", e);
|
||||
App.Error.report(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user