diff --git a/CHANGELOG.md b/CHANGELOG.md index 9244bd9b..dc0ccf82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/playlet-lib/src/components/ContentNode/ChannelContentNode.bs b/playlet-lib/src/components/ContentNode/ChannelContentNode.bs index 78f876a2..0a217571 100644 --- a/playlet-lib/src/components/ContentNode/ChannelContentNode.bs +++ b/playlet-lib/src/components/ContentNode/ChannelContentNode.bs @@ -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