We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce0a2c commit 8f0f942Copy full SHA for 8f0f942
1 file changed
packages/logging/src/entry.js
@@ -123,7 +123,7 @@ Entry.fromApiResponse_ = function(entry) {
123
* @private
124
*/
125
Entry.prototype.toJSON = function() {
126
- if (is.object(this.data) && isCircular(this.data)) {
+ if (is.object(this.data) && isCircular([this.data])) {
127
throw new Error('The JSON data for this entry has a circular reference.');
128
}
129
0 commit comments