mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 18:10:47 -04:00
add logging
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||||
<title>Multi Roomba Rover</title>
|
<title>Multi Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-DdtxDvI9.js"></script>
|
<script type="module" crossorigin src="/assets/index-D_Vm7aqj.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-BxUpjkzh.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-BxUpjkzh.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -96,6 +96,8 @@ export function useVideoRequests(sourceList = []) {
|
|||||||
socket.emit('video:request', payload, (resp = {}) => {
|
socket.emit('video:request', payload, (resp = {}) => {
|
||||||
if (cancelled) return;
|
if (cancelled) return;
|
||||||
if (!resp || resp.error || !resp.url || !resp.token) {
|
if (!resp || resp.error || !resp.url || !resp.token) {
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.warn('video:request failed', { entry, resp });
|
||||||
scheduleRetry(entry);
|
scheduleRetry(entry);
|
||||||
setSources((prev) => ({
|
setSources((prev) => ({
|
||||||
...prev,
|
...prev,
|
||||||
|
|||||||
Reference in New Issue
Block a user