dchaley / dchaley/you-need-a-splitter

ClassCastException when YNAB_ACCESS_TOKEN missing

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

If the process env doesn't have the `YNAB_ACCESS_TOKEN` entry then a class cast exception occurs when casting it to string.

Fail more gracefully, for example assert its existence before trying to use it.

(What about auth errors? 🤔 At least those should come back in the network console)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.