add package and entity info to error report