chg: using if-let for capturing error

Created by  Frank Uhlig  on March 26, 2022
4E3RRJMP7UHT5AOC3UGP3KP73TIFJ5CBQHUG3ZXUJS6DFXZ6FB6QC
Change contents