From b7e00bfc0c1d1ae4df19b5a9cbbb0a52eab92a27 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 16 Jul 2013 07:56:56 -0700 Subject: [PATCH] log when unable open game based on rowid -- which may happen if e.g. relay is sending packets to wrong device. --- .../android/XWords4/src/org/eehouse/android/xw4/DBUtils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBUtils.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBUtils.java index d375a45c6..0dcc5e600 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBUtils.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBUtils.java @@ -751,6 +751,9 @@ public class DBUtils { if ( 1 == cursor.getCount() && cursor.moveToFirst() ) { result = cursor.getBlob( cursor .getColumnIndex(DBHelper.SNAPSHOT)); + } else { + DbgUtils.logf( "DBUtils.loadGame: none for rowid=%d", + rowid ); } cursor.close(); db.close();