Fix assign key crash

This commit is contained in:
J-Jamet committed 2018-03-10 13:32:58 +01:00
1 parent 8cf515120f
commit 871a624313
1 file changed
+3 -2
@@ -403,8 +403,9 @@ public class FileSelectActivity extends StylishActivity implements
new AssignPasswordHelper(this,
masterPassword, keyFile);
} catch (Exception e) {
Log.e(TAG, "Unable to create database with this password and key file");
e.printStackTrace();
String error = "Unable to create database with this password and key file";
Toast.makeText(this, error, Toast.LENGTH_LONG).show();
Log.e(TAG, error + " " + e.getMessage());
}
}