diff --git a/zh-cn/application-dev/database/database-mdds-guidelines.md b/zh-cn/application-dev/database/database-mdds-guidelines.md index 2bd5c818b0088279d3adbc252492b8c2ab48cb68..9a07d9b29fd83a1169d1f2586b740521738aa966 100644 --- a/zh-cn/application-dev/database/database-mdds-guidelines.md +++ b/zh-cn/application-dev/database/database-mdds-guidelines.md @@ -169,9 +169,9 @@ OpenHarmony系统中的分布式数据服务模块为开发者提供下面几种 } try{ kvStore.sync(deviceIds, distributedData.SyncMode.PUSH_ONLY, 1000); - }catch(e){ + }catch (e) { console.log("An unexpected error occurred. Error:" + e); - } + } } }); ```