Skip to content

Commit

Permalink
chore: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Nov 6, 2024
1 parent 62fd52d commit 00fc07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/sirene-insee/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class httpInseeClient {
!this.password) &&
process.env.NODE_ENV === 'production'
) {
throw new HttpServerError('Client id or client secret is undefined');
throw new HttpServerError('An insee env variable is undefined');
}
this._token = null;
}
Expand Down

0 comments on commit 00fc07f

Please sign in to comment.