Skip to content

Commit

Permalink
Fix message override from super()
Browse files Browse the repository at this point in the history
  • Loading branch information
xeho91 committed Dec 13, 2024
1 parent f2dbec3 commit 9c4d33c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ export abstract class StorybookSvelteCSFError extends Error {
},
options?: ConstructorParameters<typeof Error>[1]
) {
super('', options);

super();
this.cause = options?.cause;
this.filename = filename;
this.component = component;
}
Expand Down

0 comments on commit 9c4d33c

Please sign in to comment.