Working on issue #1161 - Broken error handing for unaccessable comment attachments.
This commit is contained in:
parent
0170e977f6
commit
aa50feed73
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@ module Import
|
||||||
class Ticket
|
class Ticket
|
||||||
class Comment
|
class Comment
|
||||||
class Attachment
|
class Attachment
|
||||||
extend Import::Helper
|
include Import::Helper
|
||||||
|
|
||||||
def initialize(attachment, local_article)
|
def initialize(attachment, local_article)
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ module Import
|
||||||
)
|
)
|
||||||
return response if response.success?
|
return response if response.success?
|
||||||
log response.error
|
log response.error
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue