not found reasons + json parsing

This commit is contained in:
mrjvs
2023-09-06 17:40:03 +02:00
parent d325dab162
commit ee2b63034e
4 changed files with 11 additions and 5 deletions

View File

@@ -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;
}