mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -05:00
Fixing issue where error objects were not serialized with camelcase property names (#360)
This commit is contained in:
@@ -47,11 +47,10 @@ namespace Microsoft.SqlTools.Hosting.Protocol
|
||||
Message = errorMessage,
|
||||
Code = errorCode
|
||||
};
|
||||
return this.messageWriter.WriteMessage(
|
||||
Message.ResponseError(
|
||||
return this.messageWriter.WriteError(
|
||||
requestMessage.Id,
|
||||
requestMessage.Method,
|
||||
JToken.FromObject(error)));
|
||||
error);
|
||||
}
|
||||
|
||||
public virtual Task SendError(Exception e)
|
||||
|
||||
Reference in New Issue
Block a user