From d8f44fac7559ff1461776668833b2f2efde9fff8 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Mon, 6 Jan 2020 12:47:06 +0100 Subject: [PATCH] fix: prevent circular structure exception --- plugins/local-storage/src/local-database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/local-storage/src/local-database.ts b/plugins/local-storage/src/local-database.ts index 594322af..2604b4a6 100644 --- a/plugins/local-storage/src/local-database.ts +++ b/plugins/local-storage/src/local-database.ts @@ -58,7 +58,7 @@ class LocalDatabase implements IPluginStorage<{}> { this.locked = false; this.data = this._fetchLocalPackages(); - this.logger.trace({ config: JSON.stringify(this.config, null, 4) }, '[local-storage]: configuration: @{config}'); + this.logger.trace({ config: this.config }, '[local-storage]: configuration: @{config}'); this._sync(); }