Skip to content

Sentry extension should wrap the query in double quotes #40

@lguychard

Description

@lguychard

With the following config:

  "sentry.projects": [
    {
      "name": "Browser extension",
      "projectId": "%PROJECT%",
      "filters": [{
        "repositories": [
          "sourcegraph/sourcegraph"
        ],
        "files": [
          "(browser|shared).*\\.tsx?"
        ]
      }]
    }
  ]

The hover on throw new Error('(adjustPosition) could not find code element for line provided') links to:

https://sentry.io/organizations/sourcegraph/issues/?project=1334031&query=is%3Aunresolved+%28adjustPosition%29+could+not+find+code+element+for+line+provided&statsPeriod=14d

This does not work on Sentry:

image

The following would work on Sentry (with the query wrapped in quotes): https://sentry.io/organizations/sourcegraph/issues/?project=1334031&query=is%3Aunresolved+%22%28adjustPosition%29+could+not+find+code+element+for+line+provided%22&statsPeriod=14d

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions