Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yossi-eynav committed Apr 17, 2024
1 parent d7e2464 commit ec776ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/lib/mavat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ const fetchPlanData = (planUrl) =>
Log.error('Mavat fetch error with puppeteer', e.message);
try {
const jsonContent = await proxy.get(planUrl);
Log.info({ message: 'Mavat with proxy response', jsonContent })
resolve({ data: JSON.parse(jsonContent) });

} catch (e) {
Log.error({ message: 'Mavat fetch error with proxy', error: e });
reject(e);
Expand Down

0 comments on commit ec776ef

Please sign in to comment.