<@UFT11FKSP> I've created PR (<https://github.com/...
# kvision
t
@Robert Jaros I've created PR (https://github.com/rjaros/kvision/pull/266). It's a draft and I will add more states if you like it.
We often need to catch 404 exception. It is a valid case that object does not exist. Current implementation does not distinguish between error states and does not expose status code.
r
Nice work! 🙂
t
Thanks, I updated MR, ready to merge.
r
Merged. Thank you!
👍 1
t
I created another one with some improvments.
🙏 1
r
The exception is still
ServiceUnaviable
t
I've fixed it.
r
Hi. We have unintentionally introduced breaking change with this change 😞 I just have error reports from application in production 🙂
t
How?
r
I haven't noticed your
RemoteRequestException
extends
Throwable
but not
Exception
so my typical code is failing:
Copy code
try {
 restClient......
} catch (e: Exception) {
 ....
}
Could you make new PR and change
Throwable
to
Exception
?
t
Oh, sure.
r
Thx!
I'll make a bugfix release today.
t
Anyway it might be better to catch specific exception than just Exception