Use Exception.format_exit/1 to format router error