fix #MLHR-824 License Agent Error Handling

fix #MLHR-824 License Agent Error Handling