[skip ci] Error log

This commit is contained in:
Brahim Hadriche committed 2024-05-27 09:32:14 -04:00
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