added os to error output for debugging.