Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Improve error message when time.LoadLocation fails #288

Closed
BinaryFissionGames opened this issue Oct 12, 2021 · 0 comments · Fixed by #289
Closed

Improve error message when time.LoadLocation fails #288

BinaryFissionGames opened this issue Oct 12, 2021 · 0 comments · Fixed by #289

Comments

@BinaryFissionGames
Copy link
Contributor

time.LoadLocation may fail due to a missing time zone database. This is especially relevant on Windows, since there aren't any "default" locations checked.

When this error occurs, the error returned is simply: The system cannot find the path specified. This error should be wrapped to include that this was a failure to load location information, and that the time zone database may not be installed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant