Skip to content

[FIX] Fix error handling for non-valid avatar URL#6972

Merged
rodrigok merged 2 commits into
developfrom
fix-avatar-from-invalid-url
May 17, 2017
Merged

[FIX] Fix error handling for non-valid avatar URL#6972
rodrigok merged 2 commits into
developfrom
fix-avatar-from-invalid-url

Conversation

@sampaiodiego
Copy link
Copy Markdown
Member

@RocketChat/core

When given an invalid URL for an avatar it was given the following error on server console:

TypeError: Cannot read property 'statusCode' of undefined

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6972 May 15, 2017 12:12 Inactive
@sampaiodiego sampaiodiego changed the title Fix error handling for non-valid avatar URL [FIX] Fix error handling for non-valid avatar URL May 15, 2017
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6972 May 17, 2017 13:52 Inactive
@rodrigok rodrigok added this to the 0.57.0 milestone May 17, 2017
@rodrigok rodrigok merged commit c7d11b6 into develop May 17, 2017
@rodrigok rodrigok deleted the fix-avatar-from-invalid-url branch May 17, 2017 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants