tclaus / stocks

A simple stocks app for haiku. Mimics Stocks from macOS. The released packages are ready to use on a Haiku instance. Just download the latest release.
5 stars 3 forks source link

App crashes if api returns with an error #11

Closed tclaus closed 1 year ago

tclaus commented 1 year ago

In case the api answers wird a non 200 (OK) code, the result'body is no valid json. App crashes then.

Should do nothing In best case, or should log a minimum message anywhere. TODO: Check to log into a system log?

tclaus commented 1 year ago

In this case, the result is now ignored.