Minor bug fix

> Fixed bug in error string decoder - the wrong variable was used ("str"
instead of "txt");