Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion tracer/src/Datadog.Trace/Debugger/Symbols/SymbolsUploader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,15 @@ private async Task<bool> SendSymbol(string symbol)
}

Encoding.UTF8.GetBytes(symbol, 0, symbol.Length, _payload, 0);
return await _api.SendBatchAsync(new ArraySegment<byte>(_payload)).ConfigureAwait(false);
try
{
return await _api.SendBatchAsync(new ArraySegment<byte>(_payload)).ConfigureAwait(false);
}
catch (Exception e)
{
Log.ErrorSkipTelemetry(e, "Error uploading symbol database");
return false;
}
}

private bool TrySerializeClass(Model.Scope classScope, StringBuilder sb, int currentBytes, out int newTotalBytes)
Expand Down
Loading