fix: 런처 안정성 개선 (4건)
- ticket JSON 직렬화 json.Marshal 사용 (특수문자 안전) - 4xx 에러 메시지 "서버 오류"→"요청 실패" 수정 - 자동 업데이트 실패 시 stderr 로깅 추가 - 서버 URL을 ldflags로 오버라이드 가능하도록 var 전환 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2
main.go
2
main.go
@@ -73,7 +73,7 @@ func handleURI(rawURI string) error {
|
||||
|
||||
// 런처 자동 업데이트 체크
|
||||
if updated, updateErr := ensureLauncher(serverInfo); updateErr != nil {
|
||||
_ = updateErr // 업데이트 실패는 치명적이지 않음
|
||||
fmt.Fprintf(os.Stderr, "런처 업데이트 실패: %v\n", updateErr)
|
||||
} else if updated {
|
||||
cmd := exec.Command(os.Args[0], os.Args[1:]...)
|
||||
if err := cmd.Start(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user