Skip to content
Snippets Groups Projects
Commit defd5df6 authored by Sandra Westerhoff's avatar Sandra Westerhoff
Browse files

Merge branch 'Hotfix/2452-linkedDeletion' into 'master'

Fix: Correct logging failed delete

See merge request !87
parents 9d389add 6b429f5a
No related branches found
No related tags found
1 merge request!87Fix: Correct logging failed delete
...@@ -135,7 +135,7 @@ namespace Coscine.Api.Blob.Controllers ...@@ -135,7 +135,7 @@ namespace Coscine.Api.Blob.Controllers
} }
catch (Exception e) catch (Exception e)
{ {
_coscineLogger.Log("Get File failed", e); _coscineLogger.Log(LogType.High, "Get File failed", e);
return BadRequest("Error in communication with the resource"); return BadRequest("Error in communication with the resource");
} }
} }
...@@ -327,7 +327,7 @@ namespace Coscine.Api.Blob.Controllers ...@@ -327,7 +327,7 @@ namespace Coscine.Api.Blob.Controllers
} }
catch (Exception e) catch (Exception e)
{ {
_coscineLogger.Log("Delete failed", e); _coscineLogger.Log(LogType.High, "Delete failed", e);
return BadRequest("Error in communication with the resource"); return BadRequest("Error in communication with the resource");
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment