diff --git a/packages/ava/src/advisor/advise-pipeline/advicesForChart.ts b/packages/ava/src/advisor/advise-pipeline/advicesForChart.ts index b7547ba7..6007151e 100644 --- a/packages/ava/src/advisor/advise-pipeline/advicesForChart.ts +++ b/packages/ava/src/advisor/advise-pipeline/advicesForChart.ts @@ -92,6 +92,6 @@ export function advicesForChart( // if the input data cannot be transformed into DataFrame // eslint-disable-next-line no-console console.error('error: ', error); - return null; + return { advices: [], log: [] }; } }