I am trying to call error macro with Err(ref e) => error!(error = e),, e is of type &SessionError.
SessionError is Debug + Display + Error.
But I'm still getting this error:
the trait
bevy::bevy_utils::tracing::Valueis not implemented forSessionError, which is required by&SessionError: bevy::bevy_utils::tracing::Value
I don't mind just printing a simple text with error! but I'm curious about how to use it.