Skip to content
Snippets Groups Projects

Fix: Correct logging failed delete

Merged Benedikt Heinrichs requested to merge Hotfix/2452-linkedDeletion into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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");
}
}
}
}
Loading