private void ErrorHandler_ThrowAndLogErrorRequested(int errorCode, string errorMessage) { ErrorMessageQueue.Enqueue($"ERROR {errorCode}: {errorMessage}"); _logRepo.AddLog(new Log() { ErrorCode = errorCode, ErrorMessage = errorMessage, Timestamp = DateTime.Now }); }
private void ErrorHandler_ThrowErrorRequested(int errorCode, string errorMessage) { ErrorMessageQueue.Enqueue($"{errorCode}: {errorMessage}"); }