here's a fix for a bug that I think we introduced when Bill added TIFF images support, sorry about that.
Without the fix, the err from the outer scope is shadowed by the err declared by newAppSec. So when tiff.Decode fails, the outer scope check for the error does not see that failure, and panic ensues :-)
Hey there,
here's a fix for a bug that I think we introduced when Bill added TIFF images support, sorry about that. Without the fix, the err from the outer scope is shadowed by the err declared by newAppSec. So when tiff.Decode fails, the outer scope check for the error does not see that failure, and panic ensues :-)
Mathieu