In DEBUG mode, re-raise any exception we get during thumbnail operations