Add os version to error data