config/Path: adjust error message (not an environment variable)
This commit is contained in:
parent
6fd6a5110c
commit
147fe18ad6
@ -111,7 +111,7 @@ ParsePath(const char *path)
|
||||
} else if (env_var == "XDG_RUNTIME_DIR"sv) {
|
||||
xdg_path = GetUserRuntimeDir();
|
||||
} else {
|
||||
throw FmtRuntimeError("environment variable not supported: {:?}", env_var);
|
||||
throw FmtRuntimeError("Unknown variable: {:?}", env_var);
|
||||
}
|
||||
|
||||
return xdg_path / AllocatedPath::FromUTF8Throw(rest);
|
||||
|
Loading…
x
Reference in New Issue
Block a user