log vs throw

A collection of 1 post

log vs throw

Exception handling in Sitecore

There are two use cases for exceptions and logging handler in Sitecore which I am quickly clarify the differences. 1- Sitecore.Diagnostics.Assert 2- Sitecore.Diagnostics.Log In some scenarios your code throw

  • Nelly Sattari
    Nelly Sattari
1 min read
© 2023
Latest Posts Ghost