From 57c89f5b2a01497504973724a3b0dc2c7f6edfe2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 3 Jun 2019 12:54:31 -0400 Subject: [PATCH] log if needs migration --- src/App/Migration/MigrationHelpers.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App/Migration/MigrationHelpers.cs b/src/App/Migration/MigrationHelpers.cs index 52e6f0737..7a8eebca2 100644 --- a/src/App/Migration/MigrationHelpers.cs +++ b/src/App/Migration/MigrationHelpers.cs @@ -14,8 +14,10 @@ namespace Bit.App.Migration public static bool NeedsMigration() { - return ServiceContainer.Resolve("settingsShim") + var needsMigration = ServiceContainer.Resolve("settingsShim") .GetValueOrDefault(Constants.OldUserIdKey, null) != null; + ServiceContainer.Resolve("logService").Info("Needs Migration: " + needsMigration); + return needsMigration; } public static async Task PerformMigrationAsync()