Skip to content

Commit

Permalink
fix: remove 'server-side' word
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshan Ghojoghi authored and bripkens committed Nov 14, 2023
1 parent beadcb1 commit a1f3c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function ErrorMessage({
)}
{serverSideError ? (
<div className={`${font.className} ${errorsStyle}`}>
<p>{`Server-side: ${serverSideError.message} - ${serverSideError.error} ${
<p>{`${serverSideError.message} - ${serverSideError.error} ${
(serverSideError.line ?? 0) > 1 ? `(Line ${serverSideError.line})` : ""
}`}</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,7 @@ export function validateOtelCollectorConfigurationAndSetMarkers(
startColumn: column ?? 0,
endColumn: column ?? 0,
severity: 8,
message:
"Server-side:" +
" " +
serverSideValidationResult?.result?.message +
" - " +
serverSideValidationResult?.result?.error,
message: serverSideValidationResult?.result?.message + " - " + serverSideValidationResult?.result?.error,
});
model && monacoRef?.current?.editor.setModelMarkers(model, "json", errorMarkers);
}
Expand Down

0 comments on commit a1f3c5d

Please sign in to comment.