Issue Bug Closed

#101220Console commands return exit codes > 255 when exceptions are thrown

Andreas Kienast 07/03/23, 10:29 updated 07/09/24, 14:15

Description

If a console command throws an exception that isn’t caught, the exit code evaluates to “0” (aka successful) because the exit codes usually are the exception timestamps. However, UNIX doesn’t support exit codes > 255.

Reviews 2

History 36

  1. Gerrit Code Review pushed patch set 1 for main to change 79585 status New Under Review 07/03/23, 10:31

  2. Gerrit Code Review pushed patch set 2 for main to change 79585 07/03/23, 10:32

  3. Andreas Fernandez commented and changed status Under Review Resolved done 0 % 100 % 07/03/23, 11:01

    Applied in changeset commit:df74cd48c3541c04aa852f5e139fdd473a3967d5.

  4. Gerrit Code Review pushed patch set 1 for 12.4 to change 79541 status Resolved Under Review 07/03/23, 11:01

  5. Andreas Fernandez commented and changed status Under Review Resolved 07/03/23, 11:25

    Applied in changeset commit:025d2959a976a2b9ffdf5e4f7cffba19938472e4.

  6. Benni Mack changed status Resolved Closed 07/09/24, 14:15