You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show more user friendly errors for unsupported profile version in both the frontend and the cli (#6107)
Fixes#6105
I initially wanted to add extra information to the profile version
errors in the cli, because currently we don't give any hint about how to
update it. But while doing that, I realized that we could also improve
the error handling of the frontend a bit more.
The old frontend error was a non-localized text. This commit creates a
new localized text for this type of error and serializes it in a more
friendly way. Probably it's a bit of an overkill for this error as it
should ideally be not seen by the users, but there were existing errors
with the same way, so I wanted to be consistent.
Also, the cli now shows a tip about how to update the cli.
Frontend:
Before:
<img width="693" height="417" alt="Screenshot 2026-06-17 at 15 05 53"
src="https://github.com/user-attachments/assets/2cbb8876-4011-4c3e-9fa6-765319f5f4bd"
/>
After:
<img width="758" height="488" alt="Screenshot 2026-06-17 at 15 22 31"
src="https://github.com/user-attachments/assets/96bb0c5a-a6ac-47dd-9f4e-5a3b87274639"
/>
CLI:
Before:
<img width="1227" height="120" alt="Screenshot 2026-06-17 at 15 23 58"
src="https://github.com/user-attachments/assets/e0d52008-6d17-4943-9e2e-cff9a8806ab7"
/>
After:
<img width="1171" height="127" alt="Screenshot 2026-06-17 at 15 03 34"
src="https://github.com/user-attachments/assets/3d9031ed-b1ec-40d5-8c13-c77fe7c82465"
/>
0 commit comments