[skip ci] Error log
This commit is contained in:
1 parent
090d96c602
commit
057b1fa1ee
1 file changed
+3
-1
@@ -247,7 +247,9 @@ function OnClose()
|
||||
try
|
||||
m.top.control = "stop"
|
||||
catch error
|
||||
DialogUtils.ShowDialog(ErrorUtils.Format(error), Tr(Locale.VideoPlayer.ErrorClosingVideo), true)
|
||||
errorMessage = ErrorUtils.Format(error)
|
||||
LogError("Error stopping video:", errorMessage)
|
||||
DialogUtils.ShowDialog(errorMessage, Tr(Locale.VideoPlayer.ErrorClosingVideo), true)
|
||||
end try
|
||||
|
||||
m.top.content = invalid
|
||||
|
||||
Reference in new issue
Block a user