baude / image-scanner

[Deprecated] Vulnerability scanner for containers and images
GNU Lesser General Public License v2.1
14 stars 8 forks source link

Error Handling for REST and client API #43

Closed baude closed 9 years ago

baude commented 9 years ago
* Clean up of several areas where we threw a sys.exit(1) which
  broke the client API usage. i.e. the sys.exit would cause the
  rest server to stop.  Now raise an Exception that is caught
  and returns an Error in json format.