diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 17:09:45 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 17:09:45 +0200 |
commit | f88b8ce757f62486d5843e1ea0191db1e5c61194 (patch) | |
tree | 79109cf3cd77240152c041641bb77915fcfc553d /app/assets/javascripts/components/actions/timelines.jsx | |
parent | aea151a0ded4f7cc3a16901727931aff78a8b050 (diff) |
Improve how errors are displayed in the UI
Diffstat (limited to 'app/assets/javascripts/components/actions/timelines.jsx')
-rw-r--r-- | app/assets/javascripts/components/actions/timelines.jsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/actions/timelines.jsx b/app/assets/javascripts/components/actions/timelines.jsx index 7b01d43d9..f92f758f5 100644 --- a/app/assets/javascripts/components/actions/timelines.jsx +++ b/app/assets/javascripts/components/actions/timelines.jsx @@ -48,7 +48,6 @@ export function refreshTimeline(timeline) { api(getState).get(`/api/v1/statuses/${timeline}`).then(function (response) { dispatch(refreshTimelineSuccess(timeline, response.data)); }).catch(function (error) { - console.error(error); dispatch(refreshTimelineFail(timeline, error)); }); }; @@ -71,7 +70,6 @@ export function expandTimeline(timeline) { api(getState).get(`/api/v1/statuses/${timeline}?max_id=${lastId}`).then(response => { dispatch(expandTimelineSuccess(timeline, response.data)); }).catch(error => { - console.error(error); dispatch(expandTimelineFail(timeline, error)); }); }; |