Skip to content

Commit

Permalink
fix(startup): crash when checking creds and server url is null
Browse files Browse the repository at this point in the history
  • Loading branch information
gamemaker1 committed May 22, 2021
1 parent 7de6fe8 commit efcd2bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ const checkConfig = async (): Promise<void> => {
)
} catch (error) {
if (
error.response &&
error.response.data &&
error.response.data.error &&
error.response.data.error.reason === 'invalidCredentials'
Expand Down

0 comments on commit efcd2bf

Please sign in to comment.