Skip to content

Commit

Permalink
Merge pull request #1168 from jkeen/main
Browse files Browse the repository at this point in the history
Add message to clarify error for non-serializable configs
  • Loading branch information
ef4 authored Apr 13, 2022
2 parents d60d0b9 + 73fc229 commit a5380bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/macros/src/macros-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ function isSerializable(obj: object): boolean {
return true;
}

console.error('non serializable item found in config:', obj);
return false;
}

Expand Down

0 comments on commit a5380bf

Please sign in to comment.