Closed vtereshkov closed 7 months ago
You're checking for error->msg instead of error->msg[0] to decide if you need to print the stack trace. exit(0) looks like an error.
error->msg
error->msg[0]
exit(0)
Now it outputs if there's a message and if the code is nonzero.
Verified and closed.
You're checking for
error->msg
instead oferror->msg[0]
to decide if you need to print the stack trace.exit(0)
looks like an error.