Skip to content

Commit

Permalink
feat: update error text for config not found
Browse files Browse the repository at this point in the history
Closes #15.
  • Loading branch information
loqusion committed Dec 15, 2023
1 parent b7849e5 commit 3cde180
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hyprshade/config/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ class Config:
def __init__(self, path_: str | None = None):
path_ = path_ or Config.get_path()
if path_ is None:
raise FileNotFoundError("Config file not found")
raise FileNotFoundError(
"Could not find a config file; see https://github.com/loqusion/hyprshade#scheduling"
)
self._dict = Config._load(path_)

@staticmethod
Expand Down

0 comments on commit 3cde180

Please sign in to comment.