Improved error handling.
This commit is contained in:
parent
c96bb1956f
commit
67020df9d5
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ return all activity entries of an user
|
||||||
private
|
private
|
||||||
|
|
||||||
def self.build_url( type, o_id = nil )
|
def self.build_url( type, o_id = nil )
|
||||||
index = Setting.get('es_index') + "_#{Rails.env}"
|
index = Setting.get('es_index').to_s + "_#{Rails.env}"
|
||||||
url = Setting.get('es_url')
|
url = Setting.get('es_url')
|
||||||
return if !url
|
return if !url
|
||||||
if o_id
|
if o_id
|
||||||
|
|
Loading…
Reference in a new issue