protected void setErrorTags ( Span span , Throwable error ) { if ( error != null ) { String message = error . getMessage ( ) ; if ( message == null ) { message = error . getClass ( ) . getSimpleName ( ) ; } span . setTag ( TAG_ERROR , message ) ; } }
Sets the error tags to use on the span .