diff --git a/CHANGELOG.md b/CHANGELOG.md index 09b57ee..66b2fdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,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 + +- Fixed error messages for reading & writing roblox files not containing the full error message + ## `0.6.3` - March 26th, 2023 ### Added diff --git a/packages/lib-roblox/src/document/error.rs b/packages/lib-roblox/src/document/error.rs index 67178cd..265bf45 100644 --- a/packages/lib-roblox/src/document/error.rs +++ b/packages/lib-roblox/src/document/error.rs @@ -7,9 +7,9 @@ pub enum DocumentError { UnknownKind, #[error("Unknown document format")] UnknownFormat, - #[error("Failed to read document from buffer")] + #[error("Failed to read document from buffer - {0}")] ReadError(String), - #[error("Failed to write document to buffer")] + #[error("Failed to write document to buffer - {0}")] WriteError(String), #[error("Failed to convert into a DataModel - the given document is not a place")] IntoDataModelInvalidArgs,