fix(login): 실제 오류 메시지 노출(진단용) + 토스트 노치 겹침 safe-area 처리
CI / build (push) Successful in 30s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-07-12 12:23:02 +09:00
parent d4839678d1
commit 8386974ec9
2 changed files with 9 additions and 2 deletions
+4 -2
View File
@@ -198,8 +198,10 @@ function redirectAfterLogin() {
}
function notifyError(e: unknown) {
const message = e instanceof ApiError ? e.message : '로그인에 실패했습니다.'
$q.notify({ color: 'negative', message, icon: 'error', position: 'top' })
let message = '로그인에 실패했습니다.'
if (e instanceof ApiError) message = e.message
else if (e instanceof Error && e.message) message = e.message // 네이티브 플러그인 오류 노출(진단용)
$q.notify({ color: 'negative', message, icon: 'error', position: 'top', timeout: 6000 })
}
</script>