allow capturing of errors with values of empty strings