Skip to content

Commit a206eaa

Browse files
fix build
1 parent 357cc09 commit a206eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ export const measure = async <T>(cb: () => Promise<T>, measureName: string, outp
511511
export const unwrapServiceError = async <T>(promise: Promise<ServiceError | T>): Promise<T> => {
512512
const data = await promise;
513513
if (isServiceError(data)) {
514-
throw new Error(data);
514+
throw new Error(data.message);
515515
}
516516

517517
return data;

0 commit comments

Comments
 (0)