perf(web): throw js error on unauthorized TDBMS request

This commit is contained in:
Masahiko AMANO 2023-02-09 18:37:45 +03:00
parent f7c8923199
commit a1e6f3e9e1

View File

@ -10,6 +10,7 @@ function tdb_query(trdb, trc, trb) {
statusCode: {
401: function () {
location.href = "/auth";
throw new Error("Unauthorized TDBMS request");
}
},
success: function (resp) {