Only print exception once