mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 20:58:06 +00:00
Make error regex non gready (#1408)
This commit is contained in:
@ -423,7 +423,7 @@ def authorize_application(
|
|||||||
except GraphQueryError as e:
|
except GraphQueryError as e:
|
||||||
m = re.search(
|
m = re.search(
|
||||||
"Property PreAuthorizedApplication references "
|
"Property PreAuthorizedApplication references "
|
||||||
"applications (.*) that cannot be found.",
|
"applications (.*?) that cannot be found.",
|
||||||
e.message,
|
e.message,
|
||||||
)
|
)
|
||||||
if m:
|
if m:
|
||||||
|
Reference in New Issue
Block a user