diff options
| author | Zack Hobson | 2010-09-26 13:45:51 -0700 | 
|---|---|---|
| committer | Zack Hobson | 2010-09-26 13:45:51 -0700 | 
| commit | 474cb7bd6dbe95670bea596fdaedadd4d08f782a (patch) | |
| tree | d4df901ee1256c8e4cff47a0940cfc74ece0a800 /lib | |
| parent | f83c66059c180c5550dce33a6dfef1af9be6b139 (diff) | |
| download | hcl-474cb7bd6dbe95670bea596fdaedadd4d08f782a.tar.bz2 | |
Cleanup, hacking notes.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/app.rb | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/lib/hcl/app.rb b/lib/hcl/app.rb index b49c6c5..c1a6e9b 100644 --- a/lib/hcl/app.rb +++ b/lib/hcl/app.rb @@ -5,7 +5,6 @@ require 'net/http'  require 'net/https'  ## gem dependencies -require 'rubygems'  require 'chronic'  require 'trollop'  require 'highline/import' @@ -79,6 +78,9 @@ module HCl          else            show          end +      rescue RuntimeError => e +        puts "Error: #{e}" +        exit 1        rescue TimesheetResource::Failure => e          puts "Internal failure. #{e}"          exit 1 | 
