diff --git a/.github/workflows/backend_weather_deploy.yaml b/.github/workflows/backend_weather_deploy.yaml index 4c49277a..ed914712 100644 --- a/.github/workflows/backend_weather_deploy.yaml +++ b/.github/workflows/backend_weather_deploy.yaml @@ -78,6 +78,7 @@ jobs: REDIS_PORT=$(grep REDIS_PORT ./backend/weather-api-module/.env.prod | cut -d '=' -f2) REDIS_PORT=${REDIS_PORT:-6379} + echo ${REDIS_PORT} if ! docker ps -a | grep -q redis-container; then echo "Redis container does not exist, creating new one..." docker volume create redis_data diff --git a/backend/weather-api-module/src/init.ts b/backend/weather-api-module/src/init.ts index 257d8708..d7523908 100644 --- a/backend/weather-api-module/src/init.ts +++ b/backend/weather-api-module/src/init.ts @@ -12,7 +12,7 @@ async function init() { initializeScheduler(); } catch (error) { - console.error('초기화 중 오류 발생. 프로세스를 종료합니다'); + console.error('초기화 중 오류 발생. 프로세스를 종료합니다. Error: ', error.message); process.exit(1); } }