Pass BugOject to exception instead of ID