socialnetworknews-web

A open-source Paper.li clone
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.git
Log | Files | Refs | README | LICENSE

commit fb4c1e5c9187c2e572719179321c867958bef063
parent bf03bcd6df7b331e8971561b3e7db9a0bc10ba7a
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 26 Feb 2018 15:36:34 +0100

[object Object] isn't a really helpful error trace

Diffstat:
Msrc/app/papers-list/papers-list.component.ts | 2+-
Msrc/app/tweet-list/tweet-list.component.ts | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/papers-list/papers-list.component.ts b/src/app/papers-list/papers-list.component.ts @@ -22,7 +22,7 @@ export class PapersListComponent { this.apiService.getPapers() .subscribe( data => { this.data = this.chunk(data, 3); }, - err => Raven.captureException(err), + err => Raven.captureException(err.toString()), () => console.log('done loading Papers') ); } diff --git a/src/app/tweet-list/tweet-list.component.ts b/src/app/tweet-list/tweet-list.component.ts @@ -27,7 +27,7 @@ export class TweetListComponent { this.apiService.getYesterday(this.uuid) .subscribe( data => { this.data = this.chunk(data.tweets, 3); }, - err => Raven.captureException(err), + err => Raven.captureException(err.toString()), () => console.log('done loading Yesterday') ); }