Merge "try-catch when calling createContextAsUser" into main