OSDN Git Service
(root)
/
osdn-codes
/
osdn-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
762461d
)
Tune general error message.
author
Tatsuki Sugiura
<sugi@nemui.org>
Wed, 16 Mar 2016 06:55:32 +0000
(15:55 +0900)
committer
Tatsuki Sugiura
<sugi@nemui.org>
Wed, 16 Mar 2016 06:55:32 +0000
(15:55 +0900)
lib/osdn/cli/runner.rb
patch
|
blob
|
history
diff --git
a/lib/osdn/cli/runner.rb
b/lib/osdn/cli/runner.rb
index
03e6716
..
1208d97
100644
(file)
--- a/
lib/osdn/cli/runner.rb
+++ b/
lib/osdn/cli/runner.rb
@@
-88,9
+88,9
@@
module OSDN
elsif err["error_description"]
logger.fatal err["error_description"]
else
- logger.fatal "Command failed
: #{e.inspect
}"
+ logger.fatal "Command failed
by ApiError: #{e.response_body
}"
end
- rescue
+ rescue
=> e
logger.fatal "Command failed: #{e.inspect}"
end
end