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

add logs #556

Merged
merged 3 commits into from
Jul 17, 2024
Merged

add logs #556

merged 3 commits into from
Jul 17, 2024

Conversation

sleushunou
Copy link
Contributor

Description

Issues Resolved

  • fixes #

API Changes

None

Platforms Affected

  • Core (all platforms)
  • iOS
  • Android

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

PR Checklist

  • I have read the CONTRIBUTING document
  • My code follows the code styles
  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@github-actions github-actions bot added c/common Related to Common component. p/iOS Related to iOS platform. labels Jul 17, 2024
{
var importParams = new NSAttributedStringDocumentAttributes
{
DocumentType = NSDocumentType.HTML,
StringEncoding = encoding
};

var error = new NSError();
NSError error = new NSError();
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it needed to replace var?

catch (Exception ex)
{
logger?.Error(ex);
logger?.Info("Error message: " + error.Description);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible that there will be no exception but error is not empty?
And is it possible that error == null here?

@sleushunou sleushunou merged commit 1043521 into project/PH1 Jul 17, 2024
1 check passed
@pavel-leonenko pavel-leonenko deleted the add-nsstring-logs branch July 18, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/common Related to Common component. p/iOS Related to iOS platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants