Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upate some code comment #834

Merged
merged 1 commit into from
Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/core-browser/src/react-providers/config-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ export interface AppConfig {
wsPath: string;
/**
* 定义 IDE 各个布局区块默认加载的模块,可针对性对模块进行增删改
* 默认值可参考:https://github.com/opensumi/core/tree/main/packages/main-layout/lib/browser/default-config.tsx
* 默认值可参考:https://github.com/opensumi/core/tree/58b998d9e1f721928f576579f16ded46b7505e84/packages/main-layout/src/browser/default-config.ts
*/
layoutConfig: LayoutConfig;
/**
* 定义 IDE 的整体布局,可以通过传入自定义布局的方式定义各个区块的默认大小及缩放选项等
* 默认值可参考:https://github.com/opensumi/core/tree/main/packages/startup/entry/web-lite/modules/view/custom-layout-component.tsx
* 默认值可参考:https://github.com/opensumi/core/blob/58b998d9e1f721928f576579f16ded46b7505e84/packages/core-browser/src/components/layout/default-layout.tsx
*/
layoutComponent?: React.FC;
/**
Expand Down
4 changes: 3 additions & 1 deletion packages/storage/src/browser/storage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ export class WorkspaceStorageServer extends StorageServer {
try {
items = JSON.parse(data.content.toString());
} catch (error) {
this.logger.error(`Storage [${storageName}] content can not be parse. Error: ${error.stack}`);
this.logger.error(
`Storage [${storageName}] content can not be parse with path ${uriString}. Error: ${error.stack}`,
);
items = {};
}
}
Expand Down