MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / handleError

Function handleError

frontend/src/components/M3URefreshNotification.jsx:164–173  ·  view source on GitHub ↗
(playlist, data)

Source from the content-addressed store, hash-verified

162 };
163
164 const handleError = (playlist, data) => {
165 if (data.progress === 100) {
166 showNotification({
167 title: `M3U Processing: ${playlist.name}`,
168 message: `${data.action || 'Processing'} failed: ${data.error || 'Unknown error'}`,
169 color: 'red',
170 autoClose: 5000,
171 });
172 }
173 };
174
175 const getActionMessage = (action) => {
176 const messages = {

Callers 1

handleM3UUpdateFunction · 0.70

Calls 1

showNotificationFunction · 0.90

Tested by

no test coverage detected