mirror of
https://github.com/p-stream/providers.git
synced 2026-03-11 17:55:36 +00:00
fix: no double log
This commit is contained in:
parent
856a8fcac1
commit
6879dcdbe7
1 changed files with 2 additions and 2 deletions
|
|
@ -189,7 +189,7 @@ async function runScraper(providers: ProviderControls, source: MetaOutput, optio
|
|||
id: source.id,
|
||||
});
|
||||
spinnies.succeed('scrape', { text: 'Done!' });
|
||||
console.log(logDeepObject(result));
|
||||
logDeepObject(result);
|
||||
} catch (error) {
|
||||
let message = 'Unknown error';
|
||||
if (error instanceof Error) {
|
||||
|
|
@ -214,7 +214,7 @@ async function runScraper(providers: ProviderControls, source: MetaOutput, optio
|
|||
id: source.id,
|
||||
});
|
||||
spinnies.succeed('scrape', { text: 'Done!' });
|
||||
console.log(logDeepObject(result));
|
||||
logDeepObject(result);
|
||||
} catch (error) {
|
||||
let message = 'Unknown error';
|
||||
if (error instanceof Error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue