Fixed Launchpad error.
Improved error message handling.