Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Check for a matrixclient before trying to use it #3861

Merged
merged 1 commit into from
Jan 17, 2020

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 17, 2020

Was being caught by the try block but still logging an error to the
console unnecessarily: we should not expect there to necessarily
be a matrix client since we run this from the constructor and
there's a shared instance which could be constructed at any point.

Was being caught by the try block but still logging an error to the
console unnecessarily: we should not expect there to necessarily
be a matrix client since we run this from the constructor and
there's a shared instance which could be constructed at any point.
@dbkr dbkr requested a review from a team January 17, 2020 13:38
Copy link
Contributor

@foldleft foldleft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems legit™

@dbkr dbkr merged commit 3a29a5e into develop Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants