diff --git a/src/ImageSharp/Processing/Processors/ImageProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/ImageProcessor{TPixel}.cs
index e290e7089c..b0c81dbd7a 100644
--- a/src/ImageSharp/Processing/Processors/ImageProcessor{TPixel}.cs
+++ b/src/ImageSharp/Processing/Processors/ImageProcessor{TPixel}.cs
@@ -45,7 +45,6 @@ namespace SixLabors.ImageSharp.Processing.Processors
///
void IImageProcessor.Execute()
{
- // TODO: Try-catch logic temporarily removed, put it back.
this.BeforeImageApply();
foreach (ImageFrame sourceFrame in this.Source.Frames)
@@ -62,22 +61,9 @@ namespace SixLabors.ImageSharp.Processing.Processors
/// the source image.
public void Apply(ImageFrame source)
{
- try
- {
- this.BeforeFrameApply(source);
- this.OnFrameApply(source);
- this.AfterFrameApply(source);
- }
-#if DEBUG
- catch (Exception)
- {
- throw;
-#else
- catch (Exception ex)
- {
- throw new ImageProcessingException($"An error occurred when processing the image using {this.GetType().Name}. See the inner exception for more detail.", ex);
-#endif
- }
+ this.BeforeFrameApply(source);
+ this.OnFrameApply(source);
+ this.AfterFrameApply(source);
}
///