Skip to content

Commit

Permalink
Add message to clarify error for non-serializable configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeen committed Mar 18, 2022
1 parent 3571f3e commit 73fc229
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 73fc229

Please sign in to comment.