mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 18:13:25 +00:00
not found reasons + json parsing
This commit is contained in:
@@ -79,6 +79,7 @@ export async function runAllProviders(list: ProviderList, ops: ProviderRunnerOpt
|
||||
ops.events?.update?.({
|
||||
percentage: 100,
|
||||
status: 'notfound',
|
||||
reason: err.message,
|
||||
});
|
||||
continue;
|
||||
}
|
||||
@@ -133,6 +134,7 @@ export async function runAllProviders(list: ProviderList, ops: ProviderRunnerOpt
|
||||
ops.events?.update?.({
|
||||
percentage: 100,
|
||||
status: 'notfound',
|
||||
reason: err.message,
|
||||
});
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user