fix typo in error handling in deployables

fix typo in error handling in deployables