Commit 0e44a57
Manus AI
fix: Handle array-based error responses in verify command
Fixed error message display when API returns errors as an array:
- Check for errorData.errors array and join messages
- Now shows actual error instead of 'Unknown error'
Example: {"errors": ["Invalid or expired verification code."]}
Now displays: "Invalid or expired verification code." instead of "Unknown error"1 parent 09765b4 commit 0e44a57
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
908 | | - | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
909 | 920 | | |
910 | 921 | | |
911 | 922 | | |
| |||
0 commit comments