From 9e3307576ef835da5ae399c80f7f865ecd964059 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:43:20 +0300 Subject: [PATCH] Crash when update failed --- UpdateAndStart.bat | 4 +++- UpdateForkAndStart.bat | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/UpdateAndStart.bat b/UpdateAndStart.bat index 8bf70f368..fbb3ac9bb 100644 --- a/UpdateAndStart.bat +++ b/UpdateAndStart.bat @@ -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 diff --git a/UpdateForkAndStart.bat b/UpdateForkAndStart.bat index 8088962bb..d788b9470 100644 --- a/UpdateForkAndStart.bat +++ b/UpdateForkAndStart.bat @@ -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 )