mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +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);
|
||||
|
||||
if (!server) {
|
||||
throw new Error(
|
||||
`${i18n.t('error.apiRouteError', { postProcess: 'sentenceCase' })}: getStreamUrl`,
|
||||
);
|
||||
return '';
|
||||
}
|
||||
|
||||
return apiController(
|
||||
|
||||
Reference in New Issue
Block a user