mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-29 22:00:54 +03:00
12 lines
288 B
TypeScript
12 lines
288 B
TypeScript
|
|
|
|
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');
|
|
}
|
|
}
|
|
|
|
|