Make error regex non gready (#1408)

This commit is contained in:
Cheick Keita
2021-10-29 13:58:51 -07:00
committed by GitHub
parent 6cdb5e17db
commit 3a5861f0b5

View File

@ -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: