You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./publish/recyclarr sync --config /not-found/config.yml
Error: Failed to convert [gold1]'/path-to-a-not-found.yml'[/] to
IFileInfo[].
But still not that great. As Im not dotnet developer, I dont know what to do.
Expected Behavior
Throw an more friendly and useful message
Steps To Reproduce
recyclarr sync -c /path-to-a-not-found.yml
Environment & Versions
- Operating System: MacOS or Linux
- Architecture: arm64 or x64
- Recyclarr Version: 5.1.1+Branch.tags-v5.1.1.Sha.4d0ce0d09f367ce2520eca53c4043568efa328fd
- Recyclarr Build:
Recyclarr Log File(s)
Unhandled exception. System.InvalidOperationException: Could not find color or style ''.
at Spectre.Console.StyleParser.Parse(String text) in /_/src/Spectre.Console/StyleParser.cs:line 10
at Spectre.Console.MarkupParser.Parse(String text, Style style) in /_/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:line 29
at Spectre.Console.AnsiConsoleExtensions.Markup(IAnsiConsole console, String value) in /_/src/Spectre.Console/Extensions/AnsiConsoleExtensions.Markup.cs:line 77
at Spectre.Console.AnsiConsole.Markup(String value) in /_/src/Spectre.Console/AnsiConsole.Markup.cs:line 14
at Recyclarr.Cli.Program.Main(String[] args) in /home/runner/work/recyclarr/recyclarr/src/Recyclarr.Cli/Program.cs:line 59
[1] 9859 IOT instruction recyclarr sync -c /path-to-a-not-found.yml
Configuration YAML
do not apply - it needs to not exist
Sonarr / Radarr Logs
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Calling the program with
--config
that points to a non-exist file throw an useless messageI could debug a bit and It seems like it is a message inside the throw that needs to be escaped
That reports me the following message:
But still not that great. As Im not dotnet developer, I dont know what to do.
Expected Behavior
Throw an more friendly and useful message
Steps To Reproduce
recyclarr sync -c /path-to-a-not-found.yml
Environment & Versions
Recyclarr Log File(s)
Configuration YAML
do not apply - it needs to not exist
Sonarr / Radarr Logs
No response
The text was updated successfully, but these errors were encountered: