Commit 093e0c9
fix: resolve template clone error in auth-url handler
- Added proper error handling for template.Clone() in auth handler
- Fixed missing error checks that were causing template_clone_error logs
- Auth URL endpoint now works correctly in Docker container
- Maintained proper error logging while providing user-friendly error messages
The issue was caused by ignoring Clone() errors with `tmpl, _ := h.templates.Clone()`
which could result in nil template causing subsequent parsing to fail.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f20e89e commit 093e0c9
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
77 | 91 | | |
78 | 92 | | |
79 | 93 | | |
| |||
0 commit comments