This is an automated email from the ASF dual-hosted git repository. domgarguilo pushed a commit to branch 2.1 in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push: new 1bb9a08ac2 Monitor - move DataTable errors to the console to avoid alerts on ec page(#3058) 1bb9a08ac2 is described below commit 1bb9a08ac2a29e0553165d26736b6265eac14889 Author: Dom G <domgargu...@apache.org> AuthorDate: Mon Oct 31 16:34:09 2022 -0400 Monitor - move DataTable errors to the console to avoid alerts on ec page(#3058) --- .../src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js index e3883735e8..d32180a453 100644 --- a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js +++ b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js @@ -31,6 +31,10 @@ $(document).ready(function () { if (sessionStorage.ecDetailsJSON === undefined) { sessionStorage.ecDetailsJSON = JSON.stringify([]); } + + // display datatables errors in the console instead of in alerts + $.fn.dataTable.ext.errMode = 'throw'; + compactorsTable = $('#compactorsTable').DataTable({ "ajax": { "url": '/rest/ec/compactors',