This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fixed 项目搜索先es search服务容错
pull/313/head
“xxq250”
3 years ago
parent
79dae01a69
commit
2bd723fc64
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
app/services/projects/elasticsearch_service.rb
+ 2
- 2
app/services/projects/elasticsearch_service.rb
View File
@@ -13,8 +13,8 @@ class Projects::ElasticsearchService < ApplicationService
project_ids = result['data']['rows'].map{|d|d['instanceId']}
project_ids
rescue => e
puts
"ElasticsearchService error: #{e.message}"
raise Error, e.message
Rails.logger.info
"ElasticsearchService error: #{e.message}"
[]
end
end
Write
Preview
Loading…
Cancel
Save