Skip to content

added sentry support for cli#54

Open
ttaylor92 wants to merge 1 commit intodevelopmentfrom
SEPA-709-remote-logging-with-sentry
Open

added sentry support for cli#54
ttaylor92 wants to merge 1 commit intodevelopmentfrom
SEPA-709-remote-logging-with-sentry

Conversation

@ttaylor92
Copy link
Contributor

@ttaylor92 ttaylor92 commented May 5, 2023

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@ttaylor92 ttaylor92 requested review from Davane and andre-vidal May 5, 2023 04:34
@ttaylor92 ttaylor92 self-assigned this May 5, 2023
throw new Error(
JSON.stringify({
code: 'project-invalid',
message: `${MOBILE_CLI_COMMANDS.PluginSentry} command must be run in an existing ${chalk.yellow('rdvue')} project`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Update the rdvue keywords in the messaging and comment above.

Copy link
Contributor

Choose a reason for hiding this comment

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

const expoPostPublishConfiguration = {
file: 'sentry-expo/upload-sourcemaps',
config: {
project: projectName,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this project property by the absolute path or should it be the name of the project only?

Copy link
Contributor

Choose a reason for hiding this comment

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

Currently, it is the absolute path when the plugin is added.

Copy link
Contributor

Choose a reason for hiding this comment

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

@Davane
Copy link
Contributor

Davane commented May 10, 2023

Add a prompt to ask the user to enter the dsn as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants