Skip to content

Commit 8f0f942

Browse files
pass it as an array...
1 parent 8ce0a2c commit 8f0f942

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/logging/src/entry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Entry.fromApiResponse_ = function(entry) {
123123
* @private
124124
*/
125125
Entry.prototype.toJSON = function() {
126-
if (is.object(this.data) && isCircular(this.data)) {
126+
if (is.object(this.data) && isCircular([this.data])) {
127127
throw new Error('The JSON data for this entry has a circular reference.');
128128
}
129129

0 commit comments

Comments
 (0)