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

feat: improve error debugging #515

Merged
merged 7 commits into from
Dec 18, 2022
Merged

feat: improve error debugging #515

merged 7 commits into from
Dec 18, 2022

Conversation

alimd
Copy link
Member

@alimd alimd commented Dec 18, 2022

No description provided.

@alimd alimd added enhancement Enhancement of the code, not introducing new features. new-feature New features or options. labels Dec 18, 2022
@alimd alimd added this to the v0.x milestone Dec 18, 2022
@alimd alimd requested a review from njfamirm December 18, 2022 10:35
@alimd alimd self-assigned this Dec 18, 2022
@alimd alimd merged commit 31a59bd into next Dec 18, 2022
@alimd alimd deleted the feat/debug branch December 18, 2022 20:31
core/fetch/src/fetch.ts Show resolved Hide resolved
core/nano-server/src/nano-server.ts Show resolved Hide resolved
if (!(this.method === 'POST' || this.method === 'PUT' || this.method === 'PATCH')) {
return null;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

مگه میشه چنین چیزی؟

core/storage-client/src/storage-client.ts Show resolved Hide resolved
core/storage-client/src/storage-client.ts Show resolved Hide resolved
logger.error('getJob', (err as Error).message ?? 'storage_error', (err as Error).stack ?? err);
catch (_err) {
const err = _err as Error;
logger.error('getJob', err.message || 'storage_error', err);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

اینکه بعضی جاها اور گذاشتین به خاطر اینکه ارور معلوم نیست برای چیه؛ درسته؟

@github-actions
Copy link

Pull Request closed and locked due to lack of activity.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement of the code, not introducing new features. new-feature New features or options.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants