Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2695

Return non-zero exit code from C# avrogen if failed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.9.2
    • None
    • None
    • avrogen: Exit with non-zero code on failures and write errors to stderr

    Description

      1. C# avrogen returns 0 exit code, even if fails. This makes detecting difficult to detect cs code generation from build scripts (e.g msbuild, makefile, ...)
      2. Error messages should be written to stderr (instead of stdout)

       

      Attachments

        Issue Links

          Activity

            People

              zoltan_csizmadia Zoltan Csizmadia
              zoltan_csizmadia Zoltan Csizmadia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified