Added use for error string so it wouldn't be optimized away