OSDN Git Service
(root)
/
osdn-codes
/
osdn-cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add retry on file upload.
[osdn-codes/osdn-cli.git]
/
lib
/
osdn
/
cli
/
runner.rb
diff --git
a/lib/osdn/cli/runner.rb
b/lib/osdn/cli/runner.rb
index
1c5cdd9
..
874b01c
100644
(file)
--- a/
lib/osdn/cli/runner.rb
+++ b/
lib/osdn/cli/runner.rb
@@
-92,7
+92,7
@@
module OSDN
logger.fatal "Command failed by ApiError: #{e.response_body}"
end
rescue
- logger.fatal "Command failed: #{e.inspect}"
+ logger.fatal "Command failed: #{e.inspect}
#{e.message} (#{e.code}): #{e.response_body} #{e.response_headers}
"
end
end
end