Add exception to formatter