Skip to content

Commit 0e78087

Browse files
committed
WIP
1 parent 04bc62a commit 0e78087

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/AbstractError.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ class AbstractError<T = void> extends CustomError {
3939
} = {},
4040
) {
4141
super(message);
42-
this.timestamp = options.timestamp ?? new Date(
43-
performance.timeOrigin + performance.now()
44-
);
42+
this.timestamp =
43+
options.timestamp ?? new Date(performance.timeOrigin + performance.now());
4544
this.data = options.data ?? {};
4645
this.cause = options.cause as T;
4746
}

0 commit comments

Comments
 (0)