Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tvcam committed Aug 25, 2023
1 parent c1ac648 commit 22e354a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/organization_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def perform(org_id)

begin
Apartment::Tenant.create(organization.short_name)
else Apartment::TenantExists => e
rescue Apartment::TenantExists => e
Rails.logger.info "Tenant #{organization.short_name} already exists"
# Continue
end
Expand Down

0 comments on commit 22e354a

Please sign in to comment.