We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8fa1a commit 44f62dbCopy full SHA for 44f62db
sdk/index.ts
@@ -215,7 +215,7 @@ export class Flagsmith {
215
return await this.getIdentityFlagsFromApi(identifier, traits, transient);
216
} catch (error) {
217
if (!this.defaultFlagHandler) {
218
- throw new Error('getIdentityFlags failed and no default flag handler was provided')
+ throw new Error('getIdentityFlags failed and no default flag handler was provided', { cause: error })
219
}
220
this.logger.error(error, 'getIdentityFlags failed');
221
return new Flags({
0 commit comments