mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
removed filename from exception reports.
This commit is contained in:
parent
53c32fbe10
commit
c93548c9f6
2 changed files with 2 additions and 7 deletions
|
@ -68,7 +68,7 @@ public ExceptronClient(ExceptronConfiguration exceptronConfiguration, Version ap
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(exceptronConfiguration.ApiKey))
|
if (string.IsNullOrEmpty(exceptronConfiguration.ApiKey))
|
||||||
throw new ArgumentException("An API Key was not provided");
|
throw new ArgumentException("An API Key was not provided");
|
||||||
|
|
||||||
Configuration = exceptronConfiguration;
|
Configuration = exceptronConfiguration;
|
||||||
|
|
||||||
RestClient = new RestClient();
|
RestClient = new RestClient();
|
||||||
|
@ -255,7 +255,7 @@ internal static List<Frame> ConvertToFrames(Exception exception)
|
||||||
var currentFrame = new Frame
|
var currentFrame = new Frame
|
||||||
{
|
{
|
||||||
i = index,
|
i = index,
|
||||||
fn = frame.GetFileName(),
|
//fn = frame.GetFileName(),
|
||||||
ln = frame.GetFileLineNumber(),
|
ln = frame.GetFileLineNumber(),
|
||||||
m = method.ToString(),
|
m = method.ToString(),
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,11 +12,6 @@ internal class Frame
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ln { get; set; }
|
public int ln { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// File name of the current frame
|
|
||||||
/// </summary>
|
|
||||||
public string fn { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Method name for current frame
|
/// Method name for current frame
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue