feat: Add music decryptor definition.

This commit is contained in:
real-zony
2021-05-30 13:26:22 +08:00
parent 300b350f70
commit db283580ba
4 changed files with 33 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ namespace ZonyLrcTools.Cli.Commands
Log.Logger.Error($"出现了未处理的异常,错误代码: {exception.ErrorCode},错误信息: {ErrorCodeHelper.GetMessage(exception.ErrorCode)}\n调用栈:\n{exception.StackTrace}");
Environment.Exit(exception.ErrorCode);
return exception.ErrorCode;
case Exception unknownException:
case { } unknownException:
Log.Logger.Error($"出现了未处理的异常: {unknownException.Message}\n调用栈:\n{unknownException.StackTrace}");
Environment.Exit(-1);
return 1;