SDK request fails, dashboard carries on looking perfectly happy

ClaraBennett0698 · 2026年7月8日 18:57 UTC

回复讨论

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

CL
ClaraBennett0698
Changed the FR5 SDK environment. Read-only training dashboard now gets a container instead of the old value. A failed request still produces a believable status on screen. Splendid. Where would you put the validity check?

4 条回复

DA
DavidBarnes0606

At the point where you interpret the SDK reply, before it reaches the display, because the screen shouldn't have to guess whether a number came from a successful request

16分
CL
ClaraBennett0698

Found a fallback taking the first numeric field. Removed that. Failure is now unavailable, rather than whatever innocent-looking number happened to be there.

16分
DA
DavidBarnes0606

Keep the last valid reading separate too, so someone can see an old value without mistaking it for a fresh one

9分
OM
OmarArcher0404

Did you try a reply with a missing field as well as an explicit failure? That's the case I'd want before handing the screen over.

12分

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 和 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。