remove warning by not naming exception that's not used
Signed-off-by: Michael Friis <friism@gmail.com>
This commit is contained in:
parent
7d772add1b
commit
2bf1c10d85
|
@ -116,7 +116,7 @@ namespace CloudNative.CloudEvents
|
|||
var response = await client.GetAsync(new Uri(uri));
|
||||
return new HttpResponseMessage(response.StatusCode);
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
return new HttpResponseMessage(HttpStatusCode.InternalServerError);
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ namespace CloudNative.CloudEvents
|
|||
context.Response.Close();
|
||||
return;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
context.Response.StatusCode = (int)HttpStatusCode.InternalServerError;
|
||||
context.Response.Close();
|
||||
|
|
Loading…
Reference in New Issue