elements-storage / ZXPInstaller

Open Source ZXP Installer for Adobe Extensions
http://zxpinstaller.com/
GNU General Public License v2.0
340 stars 53 forks source link

Error handling improvements #5

Closed cameronmcefee closed 9 years ago

cameronmcefee commented 9 years ago

In preparation for an upcoming UI pull request I'll be making, here are some error handling improvements.

  1. I noticed that ExMan logs all debug output to stderr. Never mind the logic of that (heh), but this changes things up so it only exits when stderr actually throws an error message.
  2. The output errors aren't particularly helpful. I've updated things to ignore the built in errors, parse out the error code, and set it up to be able to write human friendly error messages that are a bit more helpful, based on Adobe's error codes