Skip to content

Commit

Permalink
Clarify debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa committed Feb 14, 2024
1 parent 8aa9e7f commit 81f6843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/syntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export function fromAST(ast: AST): Syntax {
fields.forEach((field) => {
if (field.name !== 'DecField') {
console.error(
'Error: expected `DecField`, received',
field.name,
'Error: expected object with `name: "DecField"`, received',
field,
);
return;
}
Expand Down

0 comments on commit 81f6843

Please sign in to comment.