mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
suppress error on invalid server in stream url
This commit is contained in:
@@ -518,9 +518,7 @@ export const controller: GeneralController = {
|
|||||||
const server = getServerById(args.apiClientProps.serverId);
|
const server = getServerById(args.apiClientProps.serverId);
|
||||||
|
|
||||||
if (!server) {
|
if (!server) {
|
||||||
throw new Error(
|
return '';
|
||||||
`${i18n.t('error.apiRouteError', { postProcess: 'sentenceCase' })}: getStreamUrl`,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return apiController(
|
return apiController(
|
||||||
|
|||||||
Reference in New Issue
Block a user