Skip to content

Commit

Permalink
Crash when update failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Oct 1, 2024
1 parent 6c110e9 commit 9e33075
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion UpdateAndStart.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ if %errorlevel% neq 0 (
call git pull --rebase --autostash
if %errorlevel% neq 0 (
REM incase there is still something wrong
echo There were errors while updating. Please download the latest version manually.
echo There were errors while updating.
echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
goto end
)
)
set NODE_ENV=production
Expand Down
3 changes: 2 additions & 1 deletion UpdateForkAndStart.bat
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ git pull --rebase --autostash origin %TARGET_BRANCH%

:install
if %errorlevel% neq 0 (
echo There were errors while updating. Please check manually.
echo There were errors while updating.
echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
goto end
)

Expand Down

0 comments on commit 9e33075

Please sign in to comment.