Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

fix: incorrect extractnig of the url from the error message #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m-i-t
Copy link

@m-i-t m-i-t commented May 5, 2021

When part of the error message is inside the parentheses it will be taken as the url. In such case the message will be cut and the rest will be taken as the url.
incorrect_message
incorrect_pane
After the fix:
correct_message
correct_pane

The condition in the regex is for the case when there are two urls in the message. In this case only the first one will be used.

@m-i-t m-i-t marked this pull request as ready for review May 5, 2021 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant