Skip to content

Commit

Permalink
Update Exit Code 1 Description
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyeh committed Jan 10, 2024
1 parent 6739e45 commit cbda462
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/get-started/start-teku.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ Content-Length: 0

**Exit Code 1**

This code indicates a scenario where Teku has exited with a fatal error, however restarting Teku without changes is a logical step in correcting it.
This code indicates a scenario where Teku has exited with a fatal error, however restarting Teku without changes is a logical step in correcting it. This code represents the error is related to something external to Teku.

Example: If the beacon chain controller has issues starting P2P services on a particular port, the system will exit with a fatal error code of 1. This could correct itself with a restart.

Example 2: If there is an issue migrating the database in the migrate database command, the system will exit with a fatal error code of 1. This issue has the potential to correct itself with a restart.

**Exit Code 2**

This code indicates a scenario where Teku has exited with a fatal error, but will not be corrected by itself if Teku is restarted.
Expand Down

0 comments on commit cbda462

Please sign in to comment.