Pass the exception to GB.toast()

here
cpfeiffer 2015-10-18 23:43:27 +02:00
parent ef15bf8ce8
commit 86d17c7792
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public class DeviceCommunicationService extends Service {
GB.toast(this, getString(R.string.cannot_connect, "Can't create device support"), Toast.LENGTH_SHORT, GB.ERROR);
}
} catch (Exception e) {
GB.toast(this, getString(R.string.cannot_connect, e.getMessage()), Toast.LENGTH_SHORT, GB.ERROR);
GB.toast(this, getString(R.string.cannot_connect, e.getMessage()), Toast.LENGTH_SHORT, GB.ERROR, e);
setDeviceSupport(null);
}
} else if (mGBDevice != null) {