Skip to content

Commit 03287b2

Browse files
committed
fixed undefined constant error
1 parent 4fe8804 commit 03287b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/project.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def new_commits
103103
reverse
104104
end
105105
rescue Octokit::BadGateway, Octokit::NotFound, Octokit::InternalServerError, Octokit::Forbidden,
106-
Errno::ETIMEDOUT, Net::ReadTimeout, Faraday::Error::ConnectionFailed => e
106+
Errno::ETIMEDOUT, Net::ReadTimeout, Faraday::ConnectionFailed => e
107107
Rails.logger.info "Project ##{id}: #{e.class} happened"
108108
rescue StandardError => e
109109
Airbrake.notify(e)

0 commit comments

Comments
 (0)