diff --git a/client/src/www/app/outline_server_repository/access_key_serialization.ts b/client/src/www/app/outline_server_repository/access_key_serialization.ts index b0cd611a1e..0447841990 100644 --- a/client/src/www/app/outline_server_repository/access_key_serialization.ts +++ b/client/src/www/app/outline_server_repository/access_key_serialization.ts @@ -40,7 +40,7 @@ function parseShadowsocksSessionConfigJson(responseBody: string): ShadowsocksSes const responseJson = JSON.parse(responseBody); if ('error' in responseJson) { - throw new errors.SessionConfigError(responseJson.error.message, { cause: responseJson.error.cause }); + throw new errors.SessionConfigError(responseJson.error.message, { cause: responseJson.error.details }); } const {method, password, server, server_port, prefix} = responseJson;