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