Fix missing error handling.