show more verbose error message in 2 cases

This commit is contained in:
tibbi
2017-09-22 22:34:34 +02:00
parent 4c02e295f3
commit 5b3040ee9e
2 changed files with 3 additions and 4 deletions

View File

@ -320,7 +320,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
}
noteSavedSuccessfully(path.getFilenameFromPath())
} catch (e: Exception) {
toast(R.string.unknown_error_occurred)
showErrorToast(e)
}
}