Fix copy paste bug

This commit is contained in:
Brahim Hadriche committed 2023-09-21 15:41:40 -04:00
1 parent 7401263f0d
commit e2df0b524a
2 files changed
+9 -3

No files matched your search

+6
View File
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- Another bug where the app crashes if an error happens loading channel info
## [0.12.1] - 2023-09-19
### Added
@@ -40,9 +40,9 @@ function OnChannelContentTaskResult(output as object) as void
end if
error = ErrorUtils.Format(error)
LogError(error)
playlistId = output.task.input.content.playlistId
message = `Failed to load playlist ${playlistId}\n${error}`
DialogUtils.ShowDialog(message, "Playlist load fail", true)
authorId = output.task.input.content.authorId
message = `Failed to load channel ${authorId}\n${error}`
DialogUtils.ShowDialog(message, "Channel load fail", true)
return
end if
end function