Add stderr output to error messages