Skip to content

Commit 3130076

Browse files
committed
Updated error message
1 parent 89509b5 commit 3130076

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/batch/src/parser.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ const parser = async (
147147
logger
148148
);
149149
}
150-
logger.error(
151-
'The schema provided is not supported. Only Zod schemas are supported for extension.'
152-
);
150+
logger.error('There was no schema or innerSchema provided');
153151
throw new ParsingError(
154152
'Either schema or innerSchema is required for parsing'
155153
);

0 commit comments

Comments
 (0)