invernyx / smartcars-3-bugs

The bug tracker for the smartCARS 3 application
3 stars 0 forks source link

[BUG] - `distanceRemaining` coming in as `NaN` #304

Closed jordanhavard closed 11 months ago

jordanhavard commented 1 year ago

Describe the bug

I'm having increased error reports of distanceRemaining coming in as NaN

How do you reproduce this bug?

Report only

Expected behavior

Type checking at application level

Screenshots

CleanShot 2023-07-24 at 19 50 25

Operating system

n/a

Community airline

QVirtual

smartCARS Version

Latest

Plugins installed

n/a

Additional context

I've added type checking to my endpoints however though it worth sharing with your team

jordanhavard commented 1 year ago

Looks like its also happening for timeRemaining CleanShot 2023-07-24 at 19 58 24

Thien42 commented 1 year ago

Do you happen to know if this flight was using the Simbrief plugin as well?

jordanhavard commented 1 year ago

Unsure sorry, That information isn't passed to the API

GenericNerd commented 12 months ago

Can you send us some more POST logs for the flights you have affected by this issue?

bgiorgio0506 commented 11 months ago

@jordanhavard Is still happening? can you provide the information that Fabio asked ?

jordanhavard commented 11 months ago

I've since implemented a NaN check on my API, I'd assume its still an issue however doesn't impact us anymore

GenericNerd commented 11 months ago

Alright, we'll close this issue out for now, but if it crops back up or you're able to provide more information, please do let us know! We're unable to repro for now

<3