Loading app/src/main/java/it/niedermann/owncloud/notes/android/activity/ExceptionActivity.java +2 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ import java.util.Objects; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import it.niedermann.owncloud.notes.BuildConfig; import it.niedermann.owncloud.notes.R; public class ExceptionActivity extends AppCompatActivity { Loading @@ -38,7 +39,7 @@ public class ExceptionActivity extends AppCompatActivity { throwable.printStackTrace(); Objects.requireNonNull(getSupportActionBar()).setTitle(getString(R.string.simple_error)); this.message.setText(throwable.getMessage()); this.stacktrace.setText(getStacktraceOf(throwable)); this.stacktrace.setText("Version: " + BuildConfig.VERSION_NAME + "\n\n" + getStacktraceOf(throwable)); } private String getStacktraceOf(Throwable e) { Loading Loading
app/src/main/java/it/niedermann/owncloud/notes/android/activity/ExceptionActivity.java +2 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ import java.util.Objects; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import it.niedermann.owncloud.notes.BuildConfig; import it.niedermann.owncloud.notes.R; public class ExceptionActivity extends AppCompatActivity { Loading @@ -38,7 +39,7 @@ public class ExceptionActivity extends AppCompatActivity { throwable.printStackTrace(); Objects.requireNonNull(getSupportActionBar()).setTitle(getString(R.string.simple_error)); this.message.setText(throwable.getMessage()); this.stacktrace.setText(getStacktraceOf(throwable)); this.stacktrace.setText("Version: " + BuildConfig.VERSION_NAME + "\n\n" + getStacktraceOf(throwable)); } private String getStacktraceOf(Throwable e) { Loading