Catch and display errors when loading packages/projects