public void SendError(UnityRequestException error) { if (this.IsRequest) { this.ResponseSent = true; UnityMessageManager.SendError( this.Message.id, this.Message.uuid.Value, error); } else { Debug.unityLogger.LogError("messaging", "This message is not a request type."); } }
public void SendError(UnityRequestException error) { if (this.IsRequest) { this.ResponseSent = true; if (string.IsNullOrEmpty(error.rawInput)) { error.rawInput = this.raw; } Debug.LogError(error); UnityMessageManager.SendError( this.Message.id, this.Message.uuid.Value, error); } else { Debug.unityLogger.LogError("messaging", "This message is not a request type."); } }