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

Exit Status 0 When Providing Invalid Serialization Format #194

Closed
tobiasschweizer opened this issue Nov 22, 2022 · 2 comments
Closed

Exit Status 0 When Providing Invalid Serialization Format #194

tobiasschweizer opened this issue Nov 22, 2022 · 2 comments

Comments

@tobiasschweizer
Copy link

Hi there,

I noticed that RMLMapper returns an exit status 0 when called with an invalid serialization format option.

java -jar rmlmapper-6.1.2-r366-all.jar -m mapping.ttl -s turtl

18:55:12.416 [main] ERROR be.ugent.rml.cli.Main .writeOutputUncompressed(607) - Writing output failed. Reason: Serialization turtl not supported

echo $?
0

I noticed that providing an invalid name for the mapping returns an exit status 1 instead. It would be great if this could be made consistent because I am calling the JAR from within another process and check for non 0 exit status for error handling.

@tobiasschweizer
Copy link
Author

@DylanVanAssche
Copy link
Contributor

Oh yes, of course!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants