Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cosma deosn't return a non null value when it detects errors or warnings #108

Open
1 of 3 tasks
GuillaumeHM opened this issue Mar 23, 2024 · 0 comments
Open
1 of 3 tasks
Labels
bug Something isn't working

Comments

@GuillaumeHM
Copy link

What version of Cosma are you using?

2.4.0

On which operating system(s) did you observe the bug?

  • macOS
  • Windows
  • Linux

What version of the operating system are you on?

debian bookworm

Actions leading to the bug

cosma modelize

Bug description

$ cosma modelize
[Cosma v.2.4.0]  /.../config.yml
Building cosmoscope… (source type: directory)
Report: 2 errors and 7 warnings
/.../cosma-cli/logs/20240323082515.html
Cosmoscope generated (23 records)
$ echo $?
0

When modelizing, Cosma prints errors and generates a descriptive log but the return value is still 0 which means "Everythin was ok" in shell world.

Additional information

Negative return values mean an error occured and positive ones mean a warning occured.

@GuillaumeHM GuillaumeHM added the bug Something isn't working label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant