Fix stack trace introduced with 7c46123