Skip to content

Commit

Permalink
fix: don't return a rejected Promise from getInitialProps to avoid se…
Browse files Browse the repository at this point in the history
…ntry log (#111)
  • Loading branch information
lionelB authored Sep 11, 2020
1 parent c93d7f7 commit 5711124
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion targets/frontend/src/lib/auth/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export async function auth(ctx) {
// if we are on the client
Router.push("/login");
}
return Promise.reject(error);
}
}

Expand Down

0 comments on commit 5711124

Please sign in to comment.