NatLabRockies / NatLabRockies/OpenStudio

Error messages not captured with exit codes

Open
#5,052 6 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.