scripts/title: fix typo in error handler