Report uncaught exceptions when trying to submit a package, fixes #236