lib/writefully/tools/pigeon.rb in writefully-0.3.6 vs lib/writefully/tools/pigeon.rb in writefully-0.4.0
- old
+ new
@@ -4,11 +4,10 @@
include Celluloid
def upload endpoint, path, name
file = File.open(File.join(path, name))
Writefully::Storage.store_file(File.join(endpoint, name), file)
- true
- rescue Exception => e
+ rescue StandardError => e
nil
end
def remove endpoint, path, name
\ No newline at end of file