aws / aws/sagemaker-code-editor

Error Logging for extension.ts files for fs.readFile

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16
Forks
35
PR merge metrics
No merged PRs in 30d

Description

For `extension.ts` files - we have `fs.readFile` functions that silently fail to not block users.
- We should include error logging (`console.log`, frontend/UI notification to user, etc.)

Original links:
- https://github.com/aws/sagemaker-code-editor/pull/8#discussion_r1504806359
- https://github.com/aws/sagemaker-code-editor/pull/8#discussion_r1504649945

AWS Toolkit error handling: https://github.com/aws/aws-toolkit-vscode/blob/master/packages/core/src/shared/logger/logger.ts

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.