mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-12 21:25:04 -05:00
Improve error message
This commit is contained in:
@@ -106,7 +106,9 @@ namespace linuxdeploy {
|
||||
// conform to desktop file spec again
|
||||
(c == '[') || (c == ']')
|
||||
))
|
||||
throw ParseError("Key contains invalid character " + std::string{c});
|
||||
throw ParseError(
|
||||
"Key " + key + " contains invalid character " + std::string{c}
|
||||
);
|
||||
}
|
||||
|
||||
auto& section = sections[currentSectionName];
|
||||
|
||||
Reference in New Issue
Block a user