perf(web): throw js error on unauthorized TDBMS request
This commit is contained in:
parent
f7c8923199
commit
a1e6f3e9e1
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user