[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 try
m.top.control = "stop" m.top.control = "stop"
catch error 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 end try
m.top.content = invalid m.top.content = invalid