Refactor exception formater
Refactor exception formater