lib/trackman/assets/asset.rb in trackman-0.4.3 vs lib/trackman/assets/asset.rb in trackman-0.4.4
- old
+ new
@@ -83,11 +83,14 @@
end
begin
return sync if autosync
rescue Exception => ex
- ::Trackman::Assets::RemoteAsset.log_exception ex
- return false
+ begin
+ ::Trackman::Assets::RemoteAsset.log_exception ex
+ ensure
+ return false
+ end
end
autosync
end
protected
\ No newline at end of file