mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 09:35:55 +00:00
simplify error handling
* less convoluted exception dialogs * use window.onerror for the majority of exception catching/reporting * remove most of now useless try/catch blocks * report stacktrace instead of manually specified error locations
This commit is contained in:
@@ -302,7 +302,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("expandParentNodes", e);
|
||||
exception_error(e);
|
||||
}
|
||||
},
|
||||
findNodeParentsAndExpandThem: function(feed, is_cat, root, parents) {
|
||||
@@ -341,7 +341,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("findNodeParentsAndExpandThem", e);
|
||||
exception_error(e);
|
||||
}
|
||||
},
|
||||
selectFeed: function(feed, is_cat) {
|
||||
|
||||
Reference in New Issue
Block a user