Merge pull request #2450 from nextcloud/bugfix/2447/fixToStartDirectVideoCapture

toast when Direct Video Upload fails to start
This commit is contained in:
Andy Scherzinger 2022-10-04 17:31:15 +02:00 committed by GitHub
commit fd1f2c77ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3290,6 +3290,7 @@ class ChatController(args: Bundle) :
)
File("$outputDir/$videoName$VIDEO_SUFFIX")
} catch (e: IOException) {
Toast.makeText(context, R.string.nc_common_error_sorry, Toast.LENGTH_LONG).show()
Log.e(TAG, "error while creating video file", e)
null
}