Skip to content

Commit

Permalink
Merge pull request #881 from dangdangwalk/backend/DANG-1245
Browse files Browse the repository at this point in the history
backend/DANG-1245: init.ts 에러 로깅에 에러 메세지 추가
  • Loading branch information
opehn authored Aug 24, 2024
2 parents 81f7278 + f914445 commit c5cf110
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/backend_weather_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/weather-api-module/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function init() {

initializeScheduler();
} catch (error) {
console.error('초기화 중 오류 발생. 프로세스를 종료합니다');
console.error('초기화 중 오류 발생. 프로세스를 종료합니다. Error: ', error.message);
process.exit(1);
}
}
Expand Down

0 comments on commit c5cf110

Please sign in to comment.