Can silver nitrate electrolysis produce toxic gas?

Electrolysis of silver nitrate produces toxic gas. According to relevant public information, silver nitrate electrolysis will produce a harmful gas nitrogen dioxide that pollutes the air. Nitrogen dioxide has a pungent smell, slightly sweet and bitter, toxic, irritating and corrosive. This is an extremely dangerous chemical.