NatLabRockies / NatLabRockies/OpenStudio
Error messages not captured with exit codes
Open
@jmarrec is already working on this.
Since Jan 25, 2024.
component - logs and warnings
Triage
- Dominant language
- C++
- Stars
- 646
- Forks
- 237
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 10
Description
Issue overview
For a ruby script called by the CLI, fail "xxx" has different behavior between 3.6.1 and 3.7.0.
Current Behavior
You can output capture (e.g., using "`" characters) the fail statement.
Expected Behavior
The fail statement output is no longer captured.
Steps to Reproduce
run_analysis.rb.txt
test_fail.rb.txt
Possible Solution
Details
Environment
Some additional details about your environment for this issue (if relevant):
- Platform (Operating system, version): Windows
- Version of OpenStudio (if using an intermediate build, include SHA): 3.6.1 vs. 3.7.1
Context
This breaks some of our tests for ResStock.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.