Browse Source

Merge branch 'master' into chore/remove-non-generic-image

af/merge-core
Dirk Lemstra 9 years ago
parent
commit
da3bcdb2dc
  1. 6
      src/ImageSharp/Processing/ImageProcessor.cs

6
src/ImageSharp/Processing/ImageProcessor.cs

@ -39,11 +39,13 @@ namespace ImageSharp.Processing
this.AfterApply(source, sourceRectangle);
}
catch (Exception ex)
{
#if DEBUG
catch (Exception)
{
throw;
#else
catch (Exception ex)
{
throw new ImageProcessingException($"An error occured when processing the image using {this.GetType().Name}. See the inner exception for more detail.", ex);
#endif
}

Loading…
Cancel
Save