mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #719] [MERGED] Add version of resolved Pkl distribution to ExecutorException
#692
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/719
Author: @holzensp
Created: 10/21/2024
Status: ✅ Merged
Merged: 10/23/2024
Merged by: @holzensp
Base:
main← Head:executorShowingVersion📝 Commits (2)
8dd680aAdd version of resolved Pkl distribution toExecutorException92a7a20Review comments📊 Changes
2 files changed (+30 additions, -1 deletions)
View changed files
📝
pkl-executor/src/main/java/org/pkl/executor/EmbeddedExecutor.java(+1 -1)📝
pkl-executor/src/main/java/org/pkl/executor/ExecutorException.java(+29 -0)📄 Description
Only when catching an exception from evaluation can we decorate the
ExecutorExceptionwith Pkl version information (all other occurrences are pre-resolution failures or failure-to-resolve). That's why this PR adds an extra constructor.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.