Error handling only in release