fix/172-fix-error-handling
fix/134-testing-issues
Fix error handling so that the value in ret variable does not become corrupt.
Reviewed-on: https://dev.kozmotronik.com.tr/gitea/KozmotronikTech/relay_chn/pulls/22
Reviewed-on: https://dev.kozmotronik.com.tr/gitea/KozmotronikTech/relay_chn/pulls/21