diff --git a/src/com/fr3ts0n/ecu/gui/androbd/FileHelper.java b/src/com/fr3ts0n/ecu/gui/androbd/FileHelper.java index 368a4ab4..ab9ba654 100644 --- a/src/com/fr3ts0n/ecu/gui/androbd/FileHelper.java +++ b/src/com/fr3ts0n/ecu/gui/androbd/FileHelper.java @@ -223,8 +223,8 @@ public synchronized int loadData(final Uri uri) Toast.makeText(context, context.getString(R.string.loaded).concat(" ").concat(msg), Toast.LENGTH_SHORT).show(); } catch (Exception ex) { - Toast.makeText(context, ex.getLocalizedMessage(), Toast.LENGTH_SHORT).show(); - Log.e(context.getString(R.string.load), ex.getMessage()); + Toast.makeText(context, ex.toString(), Toast.LENGTH_SHORT).show(); + Log.e(context.getString(R.string.load), uri.toString(), ex); } return numBytesLoaded; }