Skip to content

Commit ac4fade

Browse files
committed
Update AsyncStorageMigration.java
1 parent e4b1e17 commit ac4fade

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageMigration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ public static void migrate(Context context) {
4545
// Create the storage file
4646
ReactDatabaseSupplier.getInstance(mContext).get();
4747
copyFile(new FileInputStream(expoDatabase), new FileOutputStream(mContext.getDatabasePath(ReactDatabaseSupplier.DATABASE_NAME)));
48+
Log.v(LOG_TAG, "Migrated most recently modified database " + expoDatabase.getName() + " to RKStorage");
4849
} catch (Exception e) {
49-
Log.v(LOG_TAG, "Failed to move scoped database");
50+
Log.v(LOG_TAG, "Failed to migrate scoped database " + expoDatabase.getName());
5051
e.printStackTrace();
5152
return;
5253
}

0 commit comments

Comments
 (0)