Skip to content

Commit

Permalink
Fix map creation dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Dec 5, 2024
1 parent 709b75b commit de2996c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class Client {
this.socket.emit(eventName as any, data, (err: any, data: SocketResponse<SocketVersion.V3, R>) => {
if(err) {
const cause = deserializeError(err);
reject(deserializeError({ ...serializeError(outerError), message: cause.message, cause }));
reject(deserializeError({ ...serializeError(outerError), message: cause.message, name: cause.name, cause }));
this._simulateEvent("emitReject", eventName as any, err);
} else {
const fixedData = this._fixResponseObject(eventName, data);
Expand Down

0 comments on commit de2996c

Please sign in to comment.