Skip to content

Commit

Permalink
fix(config): misleading thrown error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Feb 20, 2023
1 parent c55e710 commit 93b8f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ async function getConfig() {
};
} catch (err) {
throw new Error(
`No such file or directory ${err.path} for SSL cert/key, falling back to HTTP`
`No such file or directory ${err.path} for SSL cert/key`
);
}
}
Expand All @@ -352,7 +352,7 @@ async function getConfig() {
};
} catch (err) {
throw new Error(
`No such file or directory ${err.path} for PFX file, falling back to HTTP`
`No such file or directory ${err.path} for PFX file`
);
}
}
Expand Down

0 comments on commit 93b8f3a

Please sign in to comment.