* bin/razor: set exit code on error; print nice error for invalid URL

  * Explicitly exit with error code 1 if there are any errors
  * Do not print a backtrace when API URL is invalid