Catching stringify exceptions