Skip to content

Commit

Permalink
fix #103: login API의 NOTFOUND 에러핸들링 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
minsangKang committed Oct 4, 2023
1 parent 75cc78c commit eb1b8a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Project_Timer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Project_Timer/Project_Timer.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = 2C96RNDN63;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
INFOPLIST_FILE = Project_Timer/Info.plist;
Expand Down Expand Up @@ -2271,7 +2271,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Project_Timer/Project_Timer.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = 2C96RNDN63;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
INFOPLIST_FILE = Project_Timer/Info.plist;
Expand All @@ -2298,7 +2298,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Project_Timer/Project_Timer.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = 2C96RNDN63;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
INFOPLIST_FILE = Project_Timer/Info.plist;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ final class SignupLoginVM {
// login 관련 error message 추가
case .CLIENTERROR(_):
self?.alert = (title: "Login Fail".localized(), text: "Please enter your nickname and password correctly".localized())
// TestServer 에러핸들링 이슈로 404코드 추가
case .NOTFOUND(_):
self?.alert = (title: "Login Fail".localized(), text: "Please enter your nickname and password correctly".localized())
default:
self?.alert = error.alertMessage
}
Expand Down

0 comments on commit eb1b8a9

Please sign in to comment.