mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-29 22:00:54 +03:00
Start of 5.X work
This commit is contained in:
12
components/wifi-manager/webapp/src/js/utils.ts
Normal file
12
components/wifi-manager/webapp/src/js/utils.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
function handleExceptionResponse(xhr: JQuery.jqXHR<any>
|
||||
, _ajaxOptions: JQuery.Ajax.ErrorTextStatus, thrownError: string) {
|
||||
console.log(xhr.status);
|
||||
console.log(thrownError);
|
||||
if (thrownError !== '') {
|
||||
showLocalMessage(thrownError, 'MESSAGING_ERROR');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user