Fix typo in error message (An error occurred ...)